How Can I Lock a Folder on My Computer So No One Has Access to It?

By Mario Calhoun

While you can restrict access to your user account on your computer by setting up a password, you can also restrict specific folders from being opened by secondary account users on the same computer. The folder's settings that allows you to lock the folder can be found in Windows Explorer on your Windows PC, or can be found in Finder on Macintosh computers. Once locked, any user who attempts to access the folder will be denied access until you remove the lock.

Lock folder on a Windows PC

Step 1

Double-click the "My Computer" icon on your desktop, and double-click the "C: Drive" icon.

Step 2

Locate the folder you wish to lock, and right-click the folder's icon. Click "Properties" on the shortcut menu.

Step 3

Select the "General" tab, and click the "Advanced" button in the lower-right corner of the window. Click the box next to "Encrypt Contents to Secure Data."

Step 4

Select the "OK" button to save the changes and encrypt your folder.

Lock a folder on a Macintosh computer

Step 1

Click the "Finder" icon on your screen's dock, and click the "Macintosh HD" tab under the "Devices" section in the Finder's sidebar.

Step 2

Double-click the "Users" folder, and double-click your name to access your account's folders.

Step 3

Right-click the folder you wish to lock, and click "Get Info" from the shortcut menu.

Step 4

Click the box next to "Locked" in the "Get Info" window to lock the folder.

Step 5

Click the arrow next to the "Sharing & Permissions" section of the "Get Info" window, and click the arrows underneath the "Privileges" section.

Step 6

Select "No Access" from the drop-down menu to restrict access, and click the red button in the upper-left corner of the window to save the changes and close out of the window.