How to Lock a Folder in Windows 11

Aug 20, 2025

Locking a folder is one of the best ways to protect sensitive data from unauthorized access. Windows 11 offers a built-in encryption feature, and there are also dedicated tools like Wise Folder Hider that make the process simpler.

Free Download

Home >  How To >  How to Lock a Folder in Windows 11

Protecting sensitive files is essential, whether for personal documents, work projects, or confidential information. Windows 11 provides several ways to restrict access to folders, ranging from built-in features to third-party tools. This guide will walk through the most effective methods to lock a folder in Windows 11.

Method 1: Lock a Folder Using Built-in File Encryption

Windows 11 (Pro, Enterprise, and Education editions) includes a built-in encryption feature called Encrypting File System (EFS). This method restricts unauthorized access by tying file access to a specific user account.

Step 1. Open Folder Properties

Right-click the folder you want to lock and select Properties.

Step 2. Enable Advanced Settings

In the General tab, click Advanced.

Step 3. Apply Encryption

  • Check Encrypt contents to secure data.
  • Click OK, then Apply.

Step 4. Choose Encryption Scope

Select whether to encrypt the folder only, or the folder and its contents.

Back Up the Encryption Key

After encryption, Windows will usually prompt you to back up the encryption certificate. This step is highly recommended because if the account is lost or Windows is reinstalled, the encrypted files could otherwise become inaccessible. If no prompt appears, the backup can also be done manually through the certificate manager.

Method 2: Lock a Folder Using Wise Folder Hider

While EFS provides a level of protection, it has clear limitations since it is only available on Pro and Enterprise editions of Windows, is tied to a Windows account rather than offering password protection at the folder level, and can feel less convenient for everyday use. Wise Folder Hider overcomes these shortcomings by allowing direct password protection for individual folders, supporting multiple layers of security such as hiding, locking, and encryption, and giving users fine control over permissions like reading, writing, renaming, executing, or deleting files.

Step 1. Install and Open Wise Folder Hider

Step 2. Open the Lock Feature

Launch Wise Folder Hider and click the Lock tab at the top.

Step 3. Add a Folder

Click Add folder at the bottom-right. Browse and select the folder you want to protect.

Step 4. Set a Password and Permissions

  • Enter and confirm a password (optional). This password will be required each time you try to modify the permissions of a locked folder.
  • Choose which operations to block (Read, Write, Rename, Execute, Delete/Move).
  • Click OK to apply.

Step 5. Verify the Lock

After setting, your folder will appear in the list. Check the Status to ensure the folder is locked.

Step 6. Accessing Locked Folders

To access a locked folder, return to the Lock tab. Double-click the folder in the list and enter the password you set earlier to unlock and access the folder.

Conclusion

Keeping personal or work files secure is essential on any computer. Windows 11 offers a built-in encryption feature to protect data, but it isn’t always the most practical option for everyday use. For users who need a more straightforward and flexible solution, third-party software such as Wise Folder Hider makes locking folders easier and more effective.

Additional Related Articles