Table of Contents
If Windows 11 returns directly to your desktop after sleep, check the requirement to sign in when waking. Sleep, a dark screen, and a locked user session are related but different states. A PC can turn off its display without requiring authentication afterward.
Lock immediately when you step away
Press Windows+L to lock the current session. This is the quickest way to protect an unattended desktop while you check the automatic settings. It does not put the computer to sleep or prevent the keyboard from waking the screen.
Require sign-in after sleep
- Open Settings and select Accounts.

- Open Sign-in options.

- Under Additional settings, find “If you’ve been away, when should Windows require you to sign in again?”
- Select the option that requires sign-in when the PC wakes from sleep, rather than Never. Exact choices can vary with the device configuration.

Microsoft’s device-security guidance identifies the sign-in-after-sleep setting as the relevant control. Windows Hello may recognize you quickly, so an immediate return to the desktop is not always proof that authentication was skipped.
Test sleep and wake explicitly
- Save your work, then choose Start > Power > Sleep.
- Allow the PC to enter sleep, then wake it normally.
- Check whether authentication is required. If Windows Hello signs you in, distinguish that from a session that resumes without a sign-in check.
Also review Settings > System > Power & battery, or the equivalent Power settings on a desktop, to check sleep and screen-off timers. Test plugged-in and battery operation if your laptop uses different timeouts.
If the setting is missing or managed
Check that your account has a working sign-in method. On a work or school PC, an organization policy can control the requirement. Contact the administrator rather than changing policy or Registry values to bypass the managed configuration.
If the PC never actually sleeps, investigate that as a separate power-management issue. Changing authentication settings will not fix an application or device that is keeping the system awake.
Do not confuse inactivity and display timers with wake authentication
InactivityTimeoutSecs concerns the machine inactivity lock policy. It is not the same setting as requiring sign-in after sleep. Likewise, VIDEOCONLOCK controls display timeout while the session is already locked; it does not establish when the session locks.
Use the sign-in control and a real sleep/wake test first. Unrelated Registry or power commands can change the wrong behavior while leaving the original privacy problem unresolved.
For quick locking and other combinations, see Windows keyboard shortcuts. Keep Windows+L as a habit even after automatic locking works.
Reader Comments 0
Sign in with email or Google to join the discussion.