Fix Windows 10 Locking After 2 Minutes
In this article
Yes, Windows 10 can stop locking after 2 minutes of inactivity by adjusting power and screen timeout settings in Settings > System > Power & Sleep and Settings > System > Display. Menu labels may vary slightly depending on your device model, Windows version, or region, but the core options are consistent across official builds.
What You'll Need
- A Windows 10 PC with administrator access
- Knowledge of your current account password (required when changing lock behavior)
- Access to Settings app (no third-party tools required)
Step-by-Step
- Click the Start button and select the gear icon to open Settings. Alternatively, press Windows + I on your keyboard to open Settings directly.
- Navigate to System > Power & Sleep. This section controls how long your device waits before turning off the screen or going to sleep.
- Under the "Screen" section, change the dropdown for "When plugged in, turn off my display after" from 2 minutes to a longer duration such as 10 minutes, 30 minutes, or "Never." If on a laptop, adjust the "On battery power, turn off my display after" setting as well.
- Scroll down to the "Sleep" section. Change "When plugged in, put my device to sleep after" to a higher value or "Never." This prevents Windows from entering a low-power state that often triggers the lock screen.
- Close Settings and open Control Panel. You can search for "Control Panel" using the taskbar search box. In Control Panel, set "View by" to Small icons, then click on Power Options.
- Click "Change plan settings" next to your currently selected power plan (usually "Balanced").
- Click "Change advanced power settings." A new window will appear with detailed power options.
- Expand the "Display" category, then expand "Display turn-off timer." Set both "On battery" and "Plugged in" to a higher value or "Never."
- Still in advanced settings, expand "Sleep" > "Sleep after," and increase the time or set it to "Never."
- Expand "Sleep" > "Hibernate after," and ensure it is set to a longer duration or disabled if not needed.
- Click "Apply," then "OK" to save changes.
- Press Windows + L to test the lock behavior manually. Then, leave the computer idle for longer than 2 minutes to confirm it no longer locks automatically.
- To fully disable automatic locking, you must also adjust screen saver and lock settings. Return to Settings > Personalization > Lock screen.
- Click "Screen saver settings" at the bottom of the page. In the Screen Saver Settings window, set the screen saver to "None." Ensure the box "On resume, display logon screen" is unchecked. Click "OK."
- Optionally, disable lock-on-sleep via Group Policy (only available on Pro or Enterprise editions). Press Windows + R, type
gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings. Double-click "Allow standby states (S1-S3) when sleeping (on battery)" and "...plugged in," and set both to Disabled. This prevents sleep-triggered locks. - For Home editions without Group Policy, use Registry Editor. Press Windows + R, type
regedit, and press Enter. Navigate toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\CsEnabled. Set the value to 0 to disable connected standby, which can cause unexpected wake and lock cycles.
Common Mistakes
Users often only change the display timeout but forget to adjust sleep settings, allowing the system to sleep and trigger the lock screen. Another mistake is ignoring screen saver settings, which can independently force a lock. Some mistakenly believe that changing lock screen wallpaper or sign-in options affects idle lock behavior—they do not. Editing the registry or Group Policy without backing up first is risky and can destabilize the system if done incorrectly.
Tips
Set both display and sleep timers to match your actual usage pattern. If you frequently step away for short periods, set them to 15–30 minutes. For presentations or media viewing, set to "Never" temporarily. Always revert afterward for security. Use different power plans for battery and plugged-in modes. Consider creating a custom power plan for special use cases. After changes, restart your PC to ensure all settings take effect.
Troubleshooting
If the PC still locks after 2 minutes, first restart it and recheck all settings—sometimes changes don’t apply immediately. Ensure no third-party power management software (like manufacturer utilities) is overriding Windows settings. Update Windows through Settings > Update & Security > Windows Update, as bugs in older builds can cause incorrect power behavior. If using a domain-joined PC, group policies from your organization may enforce locking; contact your administrator. For persistent issues, reset power plans: in Command Prompt (as admin), run powercfg -restoredefaultschemes. Then reconfigure settings manually.
Frequently Asked Questions
Why does my Windows 10 lock so quickly?
By default, some power plans and manufacturer settings reduce idle times to save energy. This often results in a 2-minute lock if display and sleep timers are set too low.
Can I stop Windows from locking without disabling sleep?
Yes. Set display to turn off but disable sleep or configure Windows to not require a password when waking. Go to Settings > Accounts > Sign-in options and set "Require sign-in" to "Never" after resuming from sleep.
Does disabling lock affect security?
Yes. Disabling automatic locks reduces security, especially on shared or public devices. Only disable it on private, secure networks and re-enable when not in use.
Why don’t my power settings stay saved?
Group Policy, domain policies, or manufacturer software may override your changes. Also, installing updates can reset power plans. Reapply settings after major updates.
Can I schedule different lock times for day and night?
Windows 10 does not natively support scheduled power plans. Use third-party tools like Task Scheduler with powercfg commands to switch plans at specific times, but only from trusted sources.
Is it safe to edit the registry to fix this?
Only if you follow exact paths and values. Back up the registry first. Incorrect edits can cause system instability. Prefer using Settings or Control Panel when possible.