How To Lock Drive In Windows 11

With the advent of Windows 11, Microsoft has introduced several new features and security enhancements. One such feature is the ability to lock your drives for added security. In this blog post, we will guide you through the process of locking a drive in Windows 11.

Method 1: Using BitLocker

BitLocker is a built-in encryption tool in Windows 11 that allows you to lock your drives with a password. Here’s how to use it:

  1. Press the Windows key + X and click on File Explorer.
  2. In the File Explorer, right-click on the drive you want to lock and select Turn on BitLocker.
  3. Windows will check if your PC supports BitLocker. If it does, you’ll see a new window asking how you want to unlock the drive. Choose Use a password to unlock the drive and enter your desired password. Click Next.
  4. You’ll be prompted to back up your recovery key in case you forget your password. Choose one of the options, such as saving the key to a USB drive or printing it. Click Next once you have backed up your recovery key.
  5. Next, you’ll be asked how much of your drive you want to encrypt. For maximum security, choose Encrypt entire drive. Click Next.
  6. On the following screen, click Start encrypting. The encryption process may take some time, depending on the drive size and your system’s hardware.

Once the encryption is complete, your drive will be locked, and you’ll need to enter the password to access it.

Method 2: Using Command Prompt

You can also lock a drive using the Command Prompt. Here’s how:

  1. Press Windows key + X and click on Windows Terminal (Admin) to open it with administrator privileges.
  2. In the terminal, enter the following command and press Enter:

    manage-bde -on D: -password

    Replace D: with the drive letter you want to lock.

  3. You’ll be prompted to enter a password. Type your desired password and press Enter.
  4. Once the password is set, the drive will start encrypting. You can check the encryption status by typing the following command and pressing Enter:

    manage-bde -status D:

    Again, replace D: with the drive letter you want to check.

After the encryption process is complete, your drive will be locked, and you’ll need to enter the password to access it.


Locking a drive in Windows 11 is an effective way to secure your sensitive data from unauthorized access. By using either BitLocker or the Command Prompt, you can easily lock and encrypt your drives with a password. Make sure to keep your password and recovery key safe, as losing them could result in permanently losing access to your data.