Press Win + L to lock instantly, but hands-free locking on Windows 10 comes from three places: the screen saver timeout with On resume, display logon screen, Dynamic lock for walking away with a paired phone, and the console lock timeout under Local Security Policy or power settings. All three exist in Windows 10 Pro, Home, and Enterprise.
Set Up Automatic Lock in Windows 10
- Open Start > Settings > Personalization > Lock screen, then scroll down and click Screen saver settings. The classic Screen Saver Settings dialog opens; this is the most reliable timeout-based lock path in Windows 10 Home and Pro.
- Under Screen saver, pick any entry from the dropdown (Blank works). Set Wait to the number of minutes you want before the lock kicks in, such as
5or10. - Check On resume, display logon screen, then click Apply and OK. If you skip this checkbox, the screen blanks but Windows returns straight to the desktop without a password prompt.
- Press
Win + Lonce to confirm your account actually requires a credential on resume. If the desktop reappears without a prompt, fix sign-in requirements under Settings > Accounts > Sign-in options before relying on the timer. - For walk-away locking, return to Settings > Accounts > Sign-in options and scroll to Dynamic lock. Turn on Allow Windows to lock your device automatically when you're away and confirm your phone is paired under Settings > Devices > Bluetooth & other devices.
Windows confirms the screen saver lock by showing the sign-in screen after the wait period expires. If the timer never fires, verify the screen saver you selected isn't set to (None) and that the wait value saved after you reopened the dialog.
Choose the Right Lock Method for Your Situation
| Method | What triggers it | Best for | Windows 10 edition |
|---|---|---|---|
| Screen saver timeout | Idle time reaching Wait value | Desktops left unattended at a desk | Home, Pro, Enterprise |
| Dynamic lock | Phone leaving Bluetooth range | Laptops carried between rooms | Home, Pro, Enterprise |
| Console lock timeout | Group Policy idle limit | Managed or shared PCs | Pro, Enterprise, Education |
Manual Win + L |
Your keypress | Instant locking before you stand up | All editions |
The screen saver timer is the default answer for most people because it needs no extra hardware. Dynamic lock adds a second layer, but it depends on your phone staying paired and broadcasting, so treat it as a supplement, not a replacement.
Lock Automatically Through Group Policy on Windows 10 Pro
Windows 10 Pro, Enterprise, and Education include a policy that locks the console after a set idle period, and it can enforce a maximum timeout that overrides user settings.
- Press
Win + R, typesecpol.msc, and press Enter to open Local Security Policy. - Navigate to Security Settings > Local Policies > Security Options.
- Double-click Interactive logon: Machine inactivity limit.
- Set the value in seconds (for example
600for ten minutes), click Apply, then OK. - Sign out or restart so the policy takes effect, then leave the PC idle past the limit to confirm the lock screen appears.
On domain-joined machines the equivalent setting lives in Group Policy under Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. If the value is grayed out, a domain policy is enforcing it and changes must be made by your IT administrator.
Why Your Automatic Lock Might Not Work
No password on the account. Windows won't prompt for credentials if your account has a blank password, so the "lock" just returns to the desktop. Add a password, PIN, or Windows Hello method under Settings > Accounts > Sign-in options. This is the single most common reason the screen saver lock appears broken.
Dynamic lock never fires. Bluetooth range on many phones exceeds the threshold Windows uses, so the lock can lag or fail. Confirm the phone shows as paired, keep Bluetooth on, and test by walking well out of range for over a minute. Battery saver modes on some phones drop the Bluetooth link or suppress it, which can trigger premature or missed locks.
Screen saver settings missing or reverting. On some builds the Screen saver settings link is hidden when a policy or third-party tool manages personalization. Search Settings for "screen saver" to reach the same dialog, and check Settings > Privacy > Background apps if a utility keeps resetting values.
Lock screen appears but unlocks without a password. Windows 10 can be configured to skip the sign-in screen after sleep. Review Settings > Accounts > Sign-in options and the Require sign-in dropdown under Settings > System > Power & sleep > Additional power settings > Choose when to require a password.
Set a Sleep Timeout as a Backup Lock
Sleep is not the same as lock, but combined with a password requirement on wake it gives you a second automatic barrier.
- Open Settings > System > Power & sleep.
- Set Sleep under When plugged in, turn off after and On battery power, turn off after to your preferred idle time.
- Click Additional power settings, then Choose when to require a password on wakeup in the left pane.
- Select Require a password and save changes.
If you're on a laptop and the option to require a password is grayed out, check whether Windows Hello sign-in options are blocking the legacy setting; the sign-in options page is the authoritative place to require credentials after sleep.
Lock a Windows 10 PC Left Unattended on a Shared Network
For shared or kiosk-style PCs, combine the machine inactivity limit with a screensaver lock and remove fast user switching from the sign-in screen. Confirm the lock works by leaving the machine idle for the full timeout, then verifying a credential prompt appears. If the PC is managed by an organization, stop at the policy boundary and contact IT before changing security options, since some settings are enforced centrally and reverting them can lock out other users.
Frequently Asked Questions
Does Dynamic lock work without Bluetooth?
No. Dynamic lock relies on the Bluetooth link between your PC and a paired phone. If your desktop has no Bluetooth radio, use the screen saver timeout or machine inactivity limit instead.
Can I lock the PC automatically after a specific number of minutes without a screen saver?
Yes. On Windows 10 Pro and higher, Interactive logon: Machine inactivity limit in secpol.msc locks the console after the idle seconds you set, independent of any screen saver.
Why does my PC unlock itself right after locking?
A connected device, a wake timer, or a sleep setting that skips the sign-in screen can cause this. Check Sign-in options under Accounts, review scheduled tasks with wake permissions in Task Scheduler, and confirm Require sign-in is set under the power settings.
Does locking automatically log me out?
No. Locking keeps your session, open apps, and unsaved work intact; you just need to sign back in. Signing out ends the session and closes everything. For hands-off security, see Microsoft's guide to locking your PC automatically for Dynamic lock specifics.