
Walking away from an unlocked PC lets anyone read your email or open your files. The fastest habit is pressing Windows + L before you leave. But if you forget, Windows can lock itself after a few minutes of no activity. Here are three reliable ways to set it up.
Method 1: Lock after screen turns off or sleep
- Open Settings > System > Power & battery (just Power on desktops).
- Expand the Screen and sleep timeouts section and set when the screen turns off and when the PC sleeps, for example 5 and 15 minutes.
- Go to Settings > Accounts > Sign-in options.
- Under If you’ve been away, when should Windows require you to sign in again?, choose Every Time or When PC wakes up from sleep.
Method 2: Lock with the screen saver
This lets you choose an exact number of minutes before locking.
- Go to Settings > Personalization > Lock screen and click Screen saver.
- Choose any screen saver, such as Blank.
- Set Wait to the number of minutes you want, for example 5.
- Tick On resume, display logon screen.
- Click OK.
Method 3: Dynamic Lock with your phone
- Pair your phone with the PC in Settings > Bluetooth & devices.
- Go to Settings > Accounts > Sign-in options.
- Open Dynamic lock and tick Allow Windows to automatically lock your device when you’re away.
When your phone moves out of Bluetooth range, Windows locks the PC about a minute later.
On Windows 10
The same options exist. Use Settings > System > Power & sleep for timeouts, Settings > Personalization > Lock screen > Screen saver settings for the screen saver and Settings > Accounts > Sign-in options for Dynamic lock.
Tips
- Use a PIN or Windows Hello so unlocking takes just a second.
- Some newer laptops have presence sensing that locks the PC when you walk away. Look for it in Settings if your device supports it.
Frequently asked questions
Why doesn’t my PC lock even after the timeout?
A video, game or app may be keeping the PC awake. Also check that a sign-in password or PIN is set, otherwise there’s nothing to lock with.
Does locking close my apps?
No. Locking keeps everything open. You return exactly where you left off after signing in.



