how do i block access to a folder (not to the files inside)?
Generate the event and apply file rule from UMC. It will be sent to that particular configured policy sandbox. ADD it to block all access and modification to this file. Simple as nothing.
You can add a global rule to block access to folder