Protecting Folder Conditionally
There is an Excel file that teaches how to perform the Protecting Folder Conditionally operation.
Excel Powered Protecting Folder Conditionally
This workbook demonstrates protecting folder conditionally using VBA macros on a 25-row data layout.
Hope it is useful.