TechBuzzPro

How to Stop Windows 11 from Locking Automatically

· 4 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can prevent Windows 11 from locking automatically by disabling the screen timeout and sleep settings in Power & battery. This keeps your PC active for presentations, downloads, or background tasks without requiring a password re-entry.

What You'll Need

  • A Windows 11 PC with administrator access
  • The Settings app (pre-installed)
  • Optional: Registry Editor (for advanced users)

Step-by-Step

  1. Open Settings: Press Win + I on your keyboard to open the Windows Settings app. Alternatively, right-click the Start button and select Settings.
  2. Navigate to Power & Battery: In the left sidebar, click on System. Then, select Power & battery from the list of options on the right.
  3. Adjust Screen and Sleep Settings: Click the small arrow next to Screen and sleep to expand the section. You will see two main dropdowns: On battery power, turn off my screen after and When plugged in, turn off my screen after.
  4. Set to Never: For both dropdowns, select Never from the menu. This ensures the screen never turns off due to inactivity while plugged in. If you are using a laptop on battery, you may want to choose a longer duration (e.g., 4 hours) instead of "Never" to preserve battery life.
  5. Disable Automatic Sleep: Scroll down slightly to find the Sleep section. Expand it if necessary. Change the setting for When plugged in, my device will go to sleep after to Never.
  6. Configure Sign-in Requirements: Go back to the main Settings home. Select Accounts from the left sidebar, then click Sign-in options. Look for the Require sign-in section under "Additional settings." Change the dropdown to Never. This prevents Windows from asking for a password when you wake the computer from sleep.
  7. Save Changes: The changes apply immediately. Close the Settings app.

Note: Menu labels may differ slightly depending on your Windows 11 version or device type (desktop vs. laptop). The steps above assume a standard desktop or plugged-in laptop configuration.

Common Mistakes

  • Ignoring Battery Settings: Setting "Never" for screen timeout on battery power will drain your laptop battery quickly. Always keep a reasonable timeout for battery mode.
  • Forgetting Sign-in Options: Disabling screen timeout does not disable the sign-in requirement. You must separately adjust the "Require sign-in" setting to fully bypass the lock screen.
  • Misunderstanding Sleep vs. Hibernate: These steps only affect screen timeout and sleep. They do not prevent hibernation if triggered manually or by system policies.
  • Group Policy Overrides: On work or school computers, IT administrators may enforce sleep settings via Group Policy. User settings in the GUI may be grayed out or revert after a restart.

Tips

  • Use a Physical Keyboard Shortcut: Press any key or move your mouse to wake the screen. If you want to test if the settings work, leave the PC idle for the set duration.
  • Keep Screensavers Disabled: Some screensavers trigger a lock screen. Go to Personalization > Lock screen and ensure no screensaver is active that requires a password.
  • Check Power Plans: If you use Advanced Power Settings, ensure the "Turn off the display" and "Put the computer to sleep" options are set to "Never" in both Active and Sleep plans.
  • Use Presenter Mode: For presentations, consider using third-party tools like Caffeine or NirCmd that temporarily disable sleep modes without changing permanent settings.

Troubleshooting

If your PC still locks despite these changes, follow these steps in order:

  1. Restart Your PC: Simple configuration errors can persist until a reboot. Restart your computer and test again.
  2. Check for Updates: Go to Settings > Windows Update and install any pending updates. Microsoft occasionally fixes power management bugs in cumulative updates.
  3. Verify Group Policy: If this is a work device, contact your IT department. Enterprise policies often override local user settings.
  4. Reset Power Plan: Open Command Prompt as Administrator and run powercfg -restoredefaultschemes. This resets all power settings to default, which you can then reconfigure.
  5. Check Third-Party Software: Antivirus programs or utility apps (like CleanMyPC) may have their own power-saving features. Disable them temporarily to test.

Frequently Asked Questions

Does disabling sleep save my work?

No. Sleep saves your current state to RAM. If power is lost, data is lost. Use "Hibernate" or save your documents manually before leaving the PC unattended.

Can I set different timeouts for battery and plugged-in?

Yes. Windows 11 allows separate settings for battery and AC power. Set "Never" for plugged-in and a reasonable time (e.g., 30 minutes) for battery.

Will this void my warranty?

No. Changing power settings is a standard user configuration and does not affect hardware warranty.

Why is "Require sign-in" grayed out?

This usually indicates a Group Policy restriction enforced by your organization or an account type limitation. Contact your admin if you cannot change it.

Does this affect fast startup?

No. Fast Startup is a separate feature related to shutdown behavior. Disabling sleep and screen timeout does not impact fast startup functionality.