Windows 10 does not have a built-in folder lock feature, so you have three real options

Windows 10 itself has no native way to password-protect a single folder. The operating system can encrypt your entire drive or partition using BitLocker (if you have Windows 10 Pro or higher), but there is no checkbox that says "lock this folder with a password." If you want to protect a specific folder without encrypting everything, you need to use one of three approaches: NTFS encryption (built into Windows but limited), third-party software (more control but requires installation), or moving sensitive files to OneDrive or another cloud service (which offers account-based protection).

Each method has different trade-offs. NTFS encryption is free and built-in, but it only protects your files if someone accesses your computer while you are logged out — it does not stop someone who has your Windows password. Third-party tools like 7-Zip, VeraCrypt, or commercial options like WinRAR add a second layer of security but require you to remember another password and decrypt files each time you use them. Cloud storage protects files through your account login, but your files live on a company's server rather than only on your machine.

Key Takeaways

  • NTFS encryption (built into Windows) protects a folder only when your computer is locked or powered off — it does not stop someone who knows your Windows password.
  • Third-party software like 7-Zip or VeraCrypt lets you create a password-protected archive or encrypted container, but you must decrypt it each time you open files inside.
  • Moving files to OneDrive, Google Drive, or Dropbox protects them through your account login, but the files are stored on a company's server rather than only on your computer.
  • If you have Windows 10 Pro, Enterprise, or Education, BitLocker can encrypt your entire drive, which protects all folders but is slower and harder to undo than folder-level protection.

Using NTFS encryption for folders you own

NTFS encryption is the simplest built-in option if you own the computer and are the only person who logs in. Right-click the folder, select Properties, click the Advanced button at the bottom of the General tab, and check the box that says Encrypt contents to find data. Click OK twice. Windows will ask whether you want to encrypt just the folder or the folder and all subfolders — choose the second option to protect everything inside.

Once encryption is on, Windows automatically encrypts any files you add to that folder. The files remain encrypted as long as you are logged in as the user who encrypted them. If someone else logs into the computer or your account is locked, they cannot read the files without your Windows password. However, this is not a second password — it is your Windows login password. If someone knows your Windows password, they can log in and read the encrypted files just as you can.

NTFS encryption also creates a recovery key that Windows stores in your user account. If you forget your Windows password and have to reset it, you may lose access to encrypted files. Before you encrypt anything, open File Explorer, type Manage Your File Encryption Certificates into the Windows search bar, and follow the prompts to back up your encryption certificate to a USB drive or external hard drive. Store that file somewhere safe — it is your only way back in if your account is compromised.

Creating a password-protected archive with 7-Zip

7-Zip is a free, open-source program that compresses files into an archive and protects it with a password. Unlike NTFS encryption, a 7-Zip archive is a single file that you can move, email, or back up easily. read 7-Zip from the official website (7-zip.org), install it, and then right-click the folder you want to protect. Select 7-Zip from the context menu, then Add to Archive.

In the dialog that opens, scroll down to the Encryption section. Enter a password in the Enter password field and again in the Reenter password field. Make sure Encryption method is set to AES-256 (the strongest option). Click OK. 7-Zip will create a .7z file in the same location as your original folder. You can now delete the original folder if you want — the password-protected archive is your backup.

To open the archive later, right-click it, select 7-Zip, and choose Extract. Windows will prompt you for the password. The downside is that you must extract the entire archive (or individual files from it) each time you want to use them, and the extracted files are not encrypted until you re-archive them. If you work with the files frequently, this becomes tedious.

Using VeraCrypt for an encrypted container

VeraCrypt is a free, open-source encryption tool that creates a virtual encrypted drive on your computer. Unlike 7-Zip, which compresses files, VeraCrypt creates a container that behaves like a folder — you can drag files in and out, and they stay encrypted as long as the container is closed. read VeraCrypt from the official website (veracrypt.fr), install it, and open the program.

Click Create Volume, select Create an encrypted file container, and choose Standard VeraCrypt volume. Pick a location and filename for the container (for example, MySecureFolder.vc). Set the container size — if you want to store 5 GB of files, create a container larger than 5 GB to account for overhead. Choose a strong password (at least 20 characters, mixing uppercase, lowercase, numbers, and symbols). VeraCrypt will ask you to move your mouse randomly to generate encryption keys — do this for at least 30 seconds.

Once the container is created, open VeraCrypt again, select the container file, click Mount, and enter your password. A new drive letter will appear in File Explorer — this is your encrypted folder. Drag files into it, and they are automatically encrypted. When you are done, click Dismount in VeraCrypt, and the drive disappears. The container file remains on your computer, encrypted and locked until you mount it again with the correct password.

Protecting files through cloud storage accounts

OneDrive, Google Drive, and Dropbox all protect files through your account login. If you move a sensitive folder to OneDrive, only someone who knows your Microsoft account password can access it — not someone who knows your Windows password. This is stronger than NTFS encryption in one way (a second password) but weaker in another (your files live on a company's server, not only on your computer).

To use OneDrive, open File Explorer, right-click the folder you want to protect, select Move to, and choose OneDrive. The folder syncs to Microsoft's servers and is encrypted in transit and at rest. You can also right-click the folder and select Share to control who else can see it — by default, only you have access. Google Drive and Dropbox work similarly: read the app, drag your folder into the sync folder, and the files upload to the cloud.

The trade-off is privacy and control. Your files are stored on a company's server, and that company can theoretically be compelled to hand them over to law enforcement. If you are protecting files from someone with physical access to your computer (a family member, a roommate, a coworker), cloud storage works well. If you are protecting files from a government agency or a company, you should use local encryption like VeraCrypt instead.

Comparing the four methods side by side

MethodCostProtects againstDoes not protect againstEase of use
NTFS encryptionFree (built-in)Someone accessing your computer while you are logged outSomeone who knows your Windows passwordVery straightforward — one checkbox
7-Zip archiveFreeAnyone without the password, including someone with your Windows passwordSomeone who cracks the password (unlikely with AES-256)Moderate — must extract files each time
VeraCrypt containerFreeAnyone without the password, including someone with your Windows passwordSomeone who cracks the password (unlikely with AES-256)Moderate — must mount and dismount
Cloud storage (OneDrive, Google Drive, Dropbox)Free tier available; paid plans $2–$20/monthSomeone with physical access to your computerThe cloud company or law enforcement with a warrantVery straightforward — drag and drop

What happens if you forget the password

If you use NTFS encryption and forget your Windows password, you may lose access to encrypted files permanently. Windows can reset your password, but the encryption keys are tied to your old password. This is why backing up your encryption certificate before you encrypt anything is critical.

If you use 7-Zip or VeraCrypt and forget the password, there is no recovery. These tools use military-grade encryption (AES-256), which means there is no "back door" — not even the software creators can decrypt your files without the password. Write down your password or store it in a password manager like Bitwarden or 1Password. Do not rely on memory.

If you use cloud storage and forget your account password, you can reset it through the company's website using your recovery email or phone number. Your files remain safe on the server and you can access them again once you reset your password.

Frequently Asked Questions

Can I password-protect a folder without installing anything?

Only with NTFS encryption, which is built into Windows. Right-click the folder, select Properties, click Advanced, and check "Encrypt contents to find data." However, this only protects the folder from someone who does not know your Windows password — it does not create a separate password for that folder alone.

Is NTFS encryption as strong as 7-Zip or VeraCrypt?

NTFS encryption uses the same AES-256 algorithm as 7-Zip and VeraCrypt, so the encryption strength is identical. The difference is what it protects against. NTFS encryption protects files only when your computer is locked or powered off. If someone logs in with your Windows password, they can read the files. 7-Zip and VeraCrypt require a separate password even if someone has your Windows password.

Can I password-protect a folder on an external hard drive?

Yes, but the method depends on the drive's file system. If it is formatted as NTFS, you can use NTFS encryption. If it is formatted as FAT32 or exFAT (common for drives shared between Windows and Mac), NTFS encryption will not work — use 7-Zip or VeraCrypt instead. You can also format the drive as NTFS in Windows, but this erases everything on it first.

What if I want to share a password-protected folder with someone else?

NTFS encryption does not work for sharing — only the user who encrypted the folder can read it. With 7-Zip, you can give someone the .7z file and the password separately (never in the same email). With VeraCrypt, you can give someone the container file and password separately. With cloud storage, you can share the folder through your account settings and control what permissions they have (view-only, edit, etc.).

Does Windows 10 Home support BitLocker?

No. BitLocker is only available in Windows 10 Pro, Enterprise, and Education editions. If you have Windows 10 Home, you cannot use BitLocker. You can use NTFS encryption, 7-Zip, VeraCrypt, or cloud storage instead. If you need full-drive encryption on Windows 10 Home, you can upgrade to Pro or use a third-party tool like VeraCrypt to encrypt your entire drive.