To lock a drive in Windows 11, encrypt it with BitLocker and set a password: right-click the drive in File Explorer, choose Show more options > Turn on BitLocker, tick Use a password to unlock the drive, save the recovery key, and start encryption. After that, the drive stays locked until someone enters the password, for example after a restart or when a USB drive is plugged in. BitLocker is included in Windows 11 Pro, Enterprise and Education; Windows 11 Home offers device encryption for the system drive instead, without a drive password.
Quick Answer
Right-click the drive > Show more options > Turn on BitLocker > Use a password to unlock the drive > save the recovery key > Start encrypting.
Steps to Lock a Data or USB Drive
- Open File Explorer and go to This PC.
- Right-click the drive, choose Show more options, then Turn on BitLocker. For USB drives this is called BitLocker To Go.
- Tick Use a password to unlock the drive and enter a strong password twice. Click Next.
- Choose where to back up the recovery key: your Microsoft account, a file or a printout. Don’t save the file on the drive you’re encrypting.
- Choose to encrypt used space only (faster, fine for new drives) or the entire drive.
- Pick the encryption mode. Use Compatible mode for USB drives that may be used on older versions of Windows.
- Click Start encrypting and wait for it to finish before removing the drive.

Lock the Drive Again Without Restarting
Once unlocked, a drive stays open until you restart, sign out or remove it. To lock it straight away, open Command Prompt as administrator and run manage-bde -lock E:, changing E: to your drive letter. Close any open files on the drive first.
Options by Windows Edition
| Edition | What you can do |
|---|---|
| Pro, Enterprise, Education | BitLocker with a password on internal and USB drives |
| Home | Device encryption for the system drive, if the PC supports it; unlock BitLocker To Go drives made elsewhere |
| Any edition | Password-protected archives or reputable third-party encryption tools |
To protect a single folder, see password-protecting a folder in Windows.
Troubleshooting
- No Turn on BitLocker option: You’re on Windows 11 Home. Check in Settings > System > About.
- Forgot the password: Use the recovery key. See finding your BitLocker recovery key.
- Locking a USB stick specifically? See putting a password on a USB flash drive.
- Encryption is slow: Leave the PC plugged in. You can keep using it while it works.
Frequently Asked Questions
Can I lock the C: drive with a password?
The system drive normally unlocks automatically with the PC’s security chip (TPM). A startup PIN can be added through Group Policy on supported editions, but a Windows sign-in password is the usual protection.
Can a Mac open a BitLocker drive?
Not without third-party software. Use a different format if you share the drive with a Mac.
How do I remove the lock?
Right-click the drive, choose Manage BitLocker, and select Turn off BitLocker to decrypt it.
Summary
- Right-click the drive and choose Turn on BitLocker.
- Set a password to unlock it.
- Back up the recovery key safely.
- Encrypt, and use manage-bde -lock to lock it again.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.