DeviceHowTo
Windows 113 min

How to Enable Screen Lock / Passcode on Windows 11

Set up a PIN, password, or biometric lock to protect your device.

Last verified: February 21, 2026

Windows screen lock security combines two separate layers: the authentication method (PIN, password, Windows Hello face or fingerprint) configured in Settings > Accounts > Sign-in Options, and the screen lock timing configured in Settings > System > Power & Sleep and the Screen Saver (password on resume) setting. Windows Hello PIN is recommended over passwords for everyday use because it's device-local — unlike a Microsoft account password, the PIN never leaves the device and cannot be phished. Windows 11 also introduces Enhanced Phishing Protection which warns you if you type your Windows password into a non-Microsoft app or webpage.

Quick Steps

Follow in order for the fastest result.

  1. 1Go to Settings > Accounts > Sign-in options. Add a PIN (recommended) or a Password. Optionally set up Windows Hello face or fingerprint unlock.
  2. 2Set screen lock to activate after 30 seconds to 1 minute of inactivity for security without interruption.
  3. 3Biometric unlock (fingerprint, face) is the recommended default — PIN or password always remains as the backup.

Still Not Working?

Try these if the steps above didn't help.

Verify the Fix

Confirm everything is fully working before closing this guide.

Frequently Asked Questions

What is the most secure screen lock type for Windows 11?
A strong alphanumeric password is the most secure option, but modern biometrics (Face ID on iPhone, fingerprint on Android) provide strong security with far better usability. A 6-digit PIN is a reasonable minimum. Avoid 4-digit PINs, patterns, and swipe-only locks for any device with sensitive data.
How do I set up fingerprint unlock on Windows 11?
Go to Settings > Accounts > Sign-in options > Fingerprint recognition (Windows Hello) and click Set up. Follow the prompts to scan your finger. You need a PIN set up first as a backup.
How long should my Windows 11 wait before locking?
30 seconds to 1 minute is the recommended balance between security and convenience for most users. Very short intervals (15 seconds) are appropriate for high-security environments. Setting it to Never is only appropriate for a desktop in a physically secure, private location.
What happens if I forget my Windows 11 screen lock PIN or password?
If using a Microsoft account, reset the PIN from the lock screen by clicking I forgot my PIN. If using a local account with no recovery options, you'll need to use Windows Recovery Environment to reset it.

Same task, different device

Related guides for Windows 11