Lock a folder on Windows

How to lock a folder in Windows 11 and 10

Windows has no password option for a folder, and its folder encryption isn't on Home editions. Here's what each built-in trick really does, and how to lock a folder with Windows Hello instead.

Free plan locks one folder for good. Opening a folder is always free.

The short answer: Windows doesn't let you put a password on a folder. EFS (right-click → Properties → Advanced → Encrypt contents) only exists on Pro, Enterprise and Education, and it's tied to your Windows account, so anyone signed in as you can open the files. BitLocker encrypts whole drives. A 7-Zip archive with AES-256 adds a password, but you have to extract files to edit them. The popular batch-file "locker" only hides a folder. To lock the folder itself on Home or Pro, right-click it and choose Protect with ZapQR, then open it with your sign-in and Windows Hello.

What Windows can already do

Four common tricks, and what they really do

EFS: Encrypt contents

Properties → Advanced → Encrypt contents to secure data. Files are encrypted to your Windows account.

  • Not on Windows 11 or 10 Home, where the box is greyed out
  • No password prompt: anyone signed in as you sees the files
  • Lose the certificate and the files are gone
Pro, Enterprise, Education only

BitLocker

Encrypts an entire drive, or a virtual disk you create to act like a folder.

  • Full BitLocker is a Pro feature
  • A drive, not a folder in place
  • Keep the recovery key somewhere safe
Whole drives

7-Zip with AES-256

Add the folder to a .7z or .zip archive and set a password.

  • Extract files to edit them, then re-archive
  • The original stays until you delete it
  • Forget the password and it won't open
Archive with a password

The batch-file "locker" isn't a lock. Scripts that rename a folder to a Control Panel ID and back only hide it. The files aren't encrypted, the password sits in the script in plain text, and anyone who knows the trick can open the folder.

Right in File Explorer

Right-click a folder, lock it where it is

ZapLock puts its commands in the main Windows 11 right-click menu. The folder keeps its name and its place on the drive, on Home or Pro.

To open it, right-click the locked folder and choose Unlock with ZapQR, then confirm with Windows Hello: face, fingerprint or PIN.

Illustration · labels can vary by version

Step by step

How to lock a folder in Windows with ZapLock

Needs Windows 10 (version 2004 or later) or Windows 11, 64-bit. Works on Home and Pro.

  1. Install ZapLock

    Get it from the Microsoft Store and sign in with a free ZapQR account.

  2. Sign in on a second device

    Sign in on your phone or another computer too. Then losing this PC doesn't lock you out of your folders.

  3. Lock the folder

    In File Explorer, right-click the folder and choose Protect with ZapQR. Or open ZapLock and add the folder from there. Confirm, and the files are encrypted where they are.

  4. Turn on Windows Hello

    In Settings → Unlock check, require Windows Hello before any folder opens on this PC. No biometrics? Approve on your phone by tapping the matching number.

  5. Open it when you need it

    Right-click the locked folder and choose Unlock with ZapQR. Browse it inside ZapLock, or unlock it in place to use it with any app until you lock it again.

Before you lock

What ZapLock won't do

Worth knowing up front, so nothing surprises you later.

  • You need a free ZapQR account. That sign-in is what replaces the password.
  • Opening a folder needs a connection to our service, which releases its half of the key. A new unlock waits until you're back online.
  • If a folder's key lives on only one device and you lose that device, the folder can't be opened. Sign in on a second device before you lock anything you can't lose.
  • No Linux, and the apps aren't open source.
  • Sync services keep version history. If plain copies were ever synced, your provider may still hold them.
Questions

Windows folder lock FAQ

Can I put a password on a folder in Windows 11?

Not with Windows alone. Windows has no password option for folders. Your choices are EFS on Pro editions, which uses your Windows sign-in rather than a separate password, BitLocker for whole drives, or a password-protected 7-Zip archive. ZapLock locks the folder itself and opens it with your ZapQR sign-in and Windows Hello.

Why is "Encrypt contents to secure data" greyed out?

Usually because you're on Windows 11 or 10 Home. EFS, the feature behind that checkbox, is only in Pro, Enterprise and Education. It can also be greyed out on drives that aren't NTFS, such as most USB sticks. ZapLock works on Home and on USB drives.

How do I lock a folder in Windows 11 Home?

Install ZapLock from the Microsoft Store, sign in, then right-click the folder in File Explorer and choose Protect with ZapQR. The folder keeps its name and place, and opens with your sign-in and Windows Hello. The Free plan locks one folder for good.

Is the batch-file folder locker safe?

No. Those scripts only rename the folder to a special Control Panel ID so it looks hidden. The files aren't encrypted, the password is stored in the script in plain text, and anyone who knows the trick can get the folder back.

Does EFS protect my files if someone uses my PC?

Not if they're signed in as you. EFS ties the files to your Windows account, so anyone using your session, or any app you run, opens them normally. It protects against other Windows accounts and against someone reading the drive from another computer.

Can I open a folder I locked on Windows from a Mac or phone?

Yes. Every ZapLock app uses the same folder format. Keep the folder in Dropbox, Google Drive or OneDrive, or on a USB drive, add it on the other device, and unlock it on this PC once so it hands the new device its key. See locking folders on Mac.

Lock your first folder in a minute.

Free for one folder, for good. On Mac, Windows, iPhone, iPad and Android.

Built-in options checked 22 October 2026 against: Winhelponline: EFS not in Home editions · Windows Central: password-protect a folder.