Skip to content

How to Lock Your Computer Quickly on Windows

Applies toWindows 11Windows 10
5 min fix Updated 9 Mar 2026 · 6 months ago
Quick Answer

Press the Windows Key + L on your keyboard simultaneously. Your screen will immediately lock, requiring a password or PIN to access your files again.

Checked against Microsoft Learn - Windows release health, Microsoft Learn - end of support and retirement and between 5 Aug 2026 and 12 Sep 2026. Nothing published in that period has been linked to this guide.

Summary

Locking your computer prevents unauthorized access when you step away from your desk. It takes one second and should become a habit — especially in shared offices. This article explains every method to lock your screen and how to set up automatic locking.

Before You Start

  • Windows 10 or Windows 11.
  • A password, PIN, or biometric sign-in method configured.

Instructions

1. Lock with a Keyboard Shortcut (Fastest)

The quickest way to lock your screen.

  1. Press Win + L.
  2. Your screen immediately shows the Lock Screen.
  3. Your password, PIN, or biometric is required to unlock.

2. Lock from the Start Menu

Use the Start menu if you prefer a visual method.

  1. Click the Start button.
  2. Click your account name or profile icon.
  3. Click Lock.

3. Lock with Ctrl+Alt+Delete

Use the security screen.

  1. Press Ctrl + Alt + Delete.
  2. Click Lock.

4. Set Up Dynamic Lock (Auto-Lock with Your Phone)

Let Windows lock automatically when you walk away with your phone.

  1. Pair your phone to your PC via Bluetooth:
    • Open Settings (Win+I) > Bluetooth & devices > Add device > Bluetooth.
    • Select your phone and complete pairing.
  2. Open Settings > Accounts > Sign-in options.
  3. Scroll to Dynamic lock.
  4. Check Allow Windows to automatically lock your device when you're away.
  5. When you walk away with your paired phone, Windows locks after about 30 seconds. If Windows never locks, the phone has usually dropped its Bluetooth connection. For guidance, see How to Troubleshoot Bluetooth Device Issues (No Admin Required).

5. Set Screen Timeout to Auto-Lock

Configure your screen to lock after a period of inactivity.

  1. Open Settings (Win+I).
  2. Go to System > Power & battery (or Power & sleep).
  3. Set Screen to turn off after a desired period (e.g., 5 minutes).
  4. Go to Accounts > Sign-in options.
  5. Under Require sign-in, select When PC wakes from sleep.

Troubleshooting

DANGER

Always lock your computer when leaving your desk, even briefly. An unlocked computer is a security risk — anyone can access your email, files, and company systems.

Symptom / ErrorPotential CauseSolution
Win+L does not lock the screenKeyboard shortcut disabled by policyUse the Start menu or Ctrl+Alt+Delete method instead.
Dynamic Lock not workingBluetooth phone not connectedEnsure Bluetooth is enabled on both your phone and PC, and the devices are paired.
PC does not require password after wakingSign-in requirement set to "Never"Go to Settings > Accounts > Sign-in options > Require sign-in and set to When PC wakes from sleep.

Last updated:

Frequently asked questions

Will locking my computer close my programs?
No. Locking puts a security screen over your work. All your applications, documents, and web pages stay exactly as you left them.
How do I make my computer lock automatically?
Go to Settings > Personalization > Lock screen > Screen timeout settings, and set the screen to turn off after a few minutes. When the screen turns off, the computer locks.