If you use a shared PC, locking a folder that contains important files is obvious.

It also helps you from accidental deletion by others and keeps everyones privacy intact.

So, how to do that?

password-protect-folder-windows-10

To do that, right-tap on the folder and select Properties.

Then punch the Advanced button and check the box of Encrypt contents to secure data.

Besides you could also useWindows commandsto protect a folder with passwords.

click-properties

Now, lets see the steps of these methods to protect a folder with a password.

Encrypt a Folder with Password Protection

There is no such built-in folder-locking app on Windows 10 OS.

Instead, it’s possible for you to encrypt a folder with a password.

click-advanced

Now, youll see a prompt to back up your file encryption certificate and key.

Then choose theOKbutton from the successful exporting prompt.

In that case, you must create a new text file inside the folder you want to lock.

tick-mark-ecrypt-contents-to-secure-data-option

Then copy the batch command lines into that, and save the file with .bat extension.

That command file will lock and unlock the folder whenever you want.

For detailed procedures, run with this:

cls@ECHO OFFtitle Folder Lockerif EXIST Control Panel.

select-back-up-now

If you forget the password, you have nothing but forget the files!

Now, a command console will appear to confirm the folder-locking process.

After that, the command console will close, and the Locker folder will disappear.

click-next

If you want to unlock the folder:

The Locker folder will appear again.

To lock the folder again, repeat the same steps.

Moreover, you might apply the same methods if you want tolock a folder in your Windows 11.

enter-password-to-encrypt-floder-on-windows-10

So, right-choose the drive and selectTurn on BitLocker.

Check the box to use a password to unlock the drive.

Then set the password and save the backup recovery key.

give-file-name-and-click-save

But Ill recommend you save the recovery key to the local drive, which is the second option.

So that you make a copy and save it anywhere you want.

However, you’re able to select theCompatible modeif you want.

save-and-click-next

Note:You must save the BitLocker recovery key to a removable drive.

Otherwise, you cant save it.

An encrypting progress status window will appear.

select-finish-button

it’s possible for you to click thePausebutton to pause the encryption process or let it continue.

Once the process is completed, select theClosebutton to wrap up the window.

Which indicates the drive is locked.

create-new-text-document

Enter the password and click theUnlockbutton.

The drive will be unclocked, and all the files and folders inside it will be available for access.

Pro Tip:If you forgot the password for BitLocker, press theMore optionsunder the password field.

set-password

Select theEnter recovery keyoption, enter the 48-digit recovery key, and click theUnlockbutton.

Why Cant I Password Protect a Folder?

Plus, unauthorized access protection in the equipment might not support locking a folder in the drive.

select-save-as

So, these are the main reasons that you cant lock a folder on Windows 10.

Now lets explore the reasons in detail.

The fact is when you encrypt a drive, locking anything inside it wont be possible.

rename-file-and-click-save

So, if this is turned on, locking a folder wont work.

Similarly, you cant turn on BitLocker in Windows 10 Home version.

But there are alternative ways toturn on BitLocker in Windows 10 Home.

locker-folder-created

Frequently Asked Questions

Why cant I put a password on a folder in Windows 10?

If you cant protect a folder with a password on Windows 10, the BitLocker might be turned on.

What does encrypting a folder do?

enter-y-from-keyboard

Decryption is like a password; without it, its meaningless to have encrypted files or folders.

Bottom Line

Now you know how to lock your important folder in Windows 10 with a password.

So none can see your personal files or important documents without your permission from now on.

enter-password-to-bring-back-the-folder

However, if you need further help regarding Windows OS, go through our website or comment below.

click-turn-on-bitlocker

enter-password-for-bitlocker-and-click-next

click-save-to-a-file-option

select-lock-entire-drive-with-bitlocker-option

click-start-encrypting-button

lock-a-folder-with-bitlocker

enter-password-to-unlock-folder

click-manage-bitlocker

manage-bitlocker-options