Lock a Folder With a Password in Windows 11/10
Do you have personal photos, important documents, work files, or other private data on your Windows computer that you don’t want other people opening? If so, protecting those files with a password is a smart move.
Windows 11 and Windows 10 offer several ways to protect your folders, but there’s one important thing to understand: Windows doesn’t provide a simple, universal option to assign a separate password to any regular folder through File Explorer. However, you can use encryption, password-protected archives, or trusted third-party software to keep your files private.
The right method depends on what you’re trying to protect. If you want to prevent other people from opening your files, encryption is a good choice. If you want to share a folder securely, a password-protected ZIP archive may be more convenient.
In this guide, you’ll learn how to lock a folder with a password in Windows 11/10, step by step.
How to Lock a Folder With a Password in Windows 11/10

To lock a folder with a password in Windows 11 or Windows 10, you can create a password-protected archive using 7-Zip, encrypt files with Windows features where supported, or use trusted folder-locking software. For most beginners who want a separate password, creating an encrypted archive with 7-Zip is a straightforward option.
Before choosing a method, remember that simply hiding a folder or changing its name doesn’t protect its contents.
Real protection requires encryption or appropriate access controls.
1: Lock a Folder Using 7-Zip
7-Zip is a free file archiving tool that lets you compress files and protect an archive with a password. It supports AES-256 encryption for 7z archives, making it a practical choice for protecting sensitive documents.
Download and install 7-Zip
Open your web browser and visit the official website at 7-zip.org.
Download the version that matches your Windows system. Most modern Windows 11 and Windows 10 computers use the 64-bit version. If you’re unsure, you can check your system type under Settings > System > About.
Open the downloaded installer and follow the instructions to complete the installation.
Create a password-protected archive
Open File Explorer by pressing Windows + E. Navigate to the folder containing the files you want to protect.
Right-click the folder. On Windows 11, select Show more options if necessary, then look for the 7-Zip menu. Choose Add to archive.
A settings window will open. Under Archive format, select 7z. Find the Encryption section and enter a strong password in the password field.
Enter the same password again in the confirmation field. If the option is available, enable Encrypt file names to prevent someone from viewing the archive’s file names without the password.
Click OK to create the archive.
Test the password protection
Open the newly created archive and try to access its contents. You should be prompted for the password when extracting encrypted files or opening protected content.
Once you’ve confirmed that the archive works, you can move it to a safe location.
Important: Creating a password-protected archive does not automatically lock or encrypt the original folder. The original files remain accessible unless you separately protect or remove them. Before deleting any originals, verify that the archive opens correctly and contains all your important files.
2: Encrypt a Folder Using Windows EFS
Windows includes Encrypting File System (EFS), which can encrypt files and folders on supported editions and file systems. Unlike a password-protected archive, EFS generally ties access to your Windows user account and its encryption credentials rather than asking for a separate folder password.
This option is useful when you want to protect files from other users who might access the same computer.
Check whether EFS is available
Open File Explorer and locate the folder you want to protect.
Right-click the folder and select Properties. Under the General tab, click Advanced.
Look for the option labeled Encrypt contents to secure data. If the option is unavailable or disabled, your Windows edition, drive format, or device configuration may not support EFS.
Enable folder encryption
If the option is available, check Encrypt contents to secure data, then click OK.
Click Apply in the Properties window. Windows may ask whether you want to encrypt only the folder or the folder, subfolders, and files. Select the option that matches your needs.
Allow Windows to finish encrypting the contents.
Back up your encryption certificate
If EFS is available, back up your encryption certificate and private key. Losing access to the required encryption credentials can make your files difficult or impossible to recover.
EFS does not create a separate password prompt every time you open the folder. It is also not intended to protect your files from someone who can use your Windows account while it is unlocked.
3: Use BitLocker to Protect an Entire Drive
If you want to protect multiple folders rather than just one, BitLocker is another option. It encrypts an entire supported drive instead of assigning a separate password to an individual folder.
BitLocker is available on supported Windows editions, including Windows Pro, Enterprise, and Education. Standard Windows Home installations generally do not provide the full BitLocker management interface, although some devices support a related Device Encryption feature.
Check BitLocker availability
Open the Start menu and search for Manage BitLocker.
If the option appears, open it and look for the drive you want to protect. If it doesn’t appear, your Windows edition or device may not support BitLocker through that interface.
Turn on drive encryption
Select Turn on BitLocker next to the appropriate drive and follow the setup instructions.
Depending on your device and configuration, Windows may offer password or recovery-key options. Save the recovery key somewhere secure and separate from the encrypted drive.
Complete the setup and allow encryption to finish.
BitLocker protects the drive, especially when the computer is powered off or the drive is otherwise locked. It does not normally ask for a separate password whenever you open a particular folder after signing in.
4: Use Folder-Locking Software
If you specifically want software that lets you lock or hide individual folders, a third-party tool may be a better fit. One example is Wise Folder Hider, which offers folder and file hiding and password-protection features.
Before installing any folder-locking application, review its security features, supported Windows versions, pricing, and recovery options. Hiding a folder is not the same as encrypting it, so choose a tool that clearly explains whether its protection uses encryption.
Download the software
Visit the software publisher’s official website and download the current version. Avoid unofficial download sites that may bundle unwanted applications.
Install the program and create a strong master password if prompted. Keep this password somewhere safe because losing it may prevent you from accessing protected items.
Add the folder you want to protect
Open the application and follow its instructions to add the folder you want to secure.
Depending on the program, you may be able to hide the folder, lock access, or encrypt its contents. Read the description of each option carefully before selecting it.
Test the protection with a nonessential folder first. Confirm that you can unlock and recover the contents before relying on the software for important files.
Note: Third-party tools vary in how they protect data. Do not assume that every application offering a folder-locking feature provides strong encryption.
5: Protect a Folder by Using a Separate Windows User Account
If several people share your computer, creating separate Windows user accounts is another useful way to protect personal files.
This method doesn’t assign a password to an individual folder. Instead, it helps keep each user’s files and settings separate.
Create a separate user account
Open Settings by pressing Windows + I.
In Windows 11, go to Accounts > Other users. In Windows 10, open Accounts > Family & other users.
Choose the option to add another user and follow the instructions. You can create a separate account using a Microsoft account or, where available, a local account.
Set a strong sign-in password or another supported sign-in method for the account.
Store your private files in your user folder
Sign in to your own Windows account and store private documents in your user profile, such as your Documents folder.
Avoid sharing your account password with other people. Also, remember that administrators and users with sufficient privileges may still be able to access files under certain circumstances. For highly sensitive data, consider using encryption as well.
FAQs
1. Can I password-protect a folder directly in Windows 11?
Windows 11 doesn’t offer a universal, built-in option to assign a separate password to any ordinary folder. You can use 7-Zip to create an encrypted archive, EFS where supported, or a trusted folder-locking application.
2. Does Windows 10 have a folder-locking feature?
Windows 10 also lacks a simple password field for ordinary folders in File Explorer. However, supported editions may offer EFS or BitLocker, and you can use a password-protected archive for individual files and folders.
3. Is hiding a folder the same as locking it?
No. Hidden folders can often be displayed through File Explorer settings. Hiding a folder does not encrypt its contents or prevent someone with access to your account from opening them.
4. What happens if I forget my folder password?
It depends on the protection method. If you forget the password for a strongly encrypted archive, recovery may be impossible without the correct password or another supported recovery method. Keep your password and recovery information in a secure place.
5. Which method is best for beginners?
For most beginners who want a separate password, 7-Zip with AES-256 encryption is a good starting point. If you want to protect an entire supported drive, BitLocker may be more appropriate. For shared computers, separate Windows accounts also help keep files organized and private.
Summary
Locking a folder with a password in Windows 11 or Windows 10 is possible, but the best method depends on how you want to protect your files.
Use 7-Zip if you want a separate password for an encrypted archive. Choose EFS if your Windows edition supports it and you want user-account-based file encryption. Use BitLocker to protect an entire supported drive, or consider reputable folder-locking software if you need a more direct folder-management interface.
Whichever method you choose, test it before moving or deleting your original files.
Keep your passwords and recovery keys safe, and remember that hiding a folder alone does not provide real security.
