TechBuzzPro

How to Stop Windows 10 Locking After Inactivity

· 5 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

Windows 10 locks your screen automatically after a set period of inactivity to protect your data. To stop this, you need to adjust the sleep and screen saver settings in the system control panel. This guide shows you how to disable these features so your PC stays awake while you are working.

What You'll Need

  • A Windows 10 PC with administrator access
  • The Settings app or Control Panel

Step-by-Step

  1. Open Power & Sleep Settings: Click the Start button (Windows icon) in the bottom-left corner of your taskbar. Select the gear icon to open Settings. Alternatively, press Windows Key + I on your keyboard. In the Settings window, click on System.
  2. Adjust Screen Timeout: In the left-hand menu, ensure Power & sleepScreen. Change the dropdown menu next to "When plugged in, turn off after" from its default time (e.g., 5 minutes) to Never. If you are using a laptop on battery power, do the same for the On battery power dropdown if you want it to stay on indefinitely, though this will drain your battery faster.
  3. Adjust Sleep Timeout: Directly below the Screen settings, find the Sleep section. Change the dropdown for "When plugged in, PC goes to sleep after" to Never. This prevents the computer from entering low-power mode, which often triggers the lock screen upon waking.
  4. Disable Screen Saver Password Protection: The modern Settings app does not always show all legacy options. Press Windows Key + R to open the Run dialog. Type control desk.cpl,,@screensaver and press Enter. This opens the classic Display Properties window directly to the Screen Saver tab. Check the box that says On resume, display logon screen. If this box is checked, uncheck it. Click Apply and then OK.
  5. Verify Group Policy (Advanced Users Only): On some corporate or managed PCs, an administrator may enforce locking via Group Policy. If the steps above do not work, press Windows Key + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. Look for the policy named Interactive logon: Machine inactivity limit. If it is enabled and set to a value greater than zero, change it to Disabled or set the value to 0. Note: This option is only available in Windows 10 Pro, Enterprise, and Education editions, not Home.

Common Mistakes

Many users only change the "Screen" timeout but forget the "Sleep" timeout. Turning off the screen does not stop the computer from sleeping; if the PC sleeps, it will still require a password to wake up. Always adjust both settings to ensure the machine remains fully active.

Another common error is assuming the Settings app controls everything. The "On resume, display logon screen" checkbox is hidden in the legacy Control Panel interface. Failing to check this specific box means the screen saver might be disabled, but the security prompt will still appear when the screen turns back on.

Tips

If you have a desktop PC, consider using a physical mouse jiggle tool or a simple script if you need the PC to stay awake for long periods without touching it. However, adjusting the sleep timer as described above is the safest and most reliable method.

For laptops, leaving the "On battery power" setting at "Never" will significantly reduce your battery life. It is best to leave the battery setting at a reasonable interval (like 30 minutes) and only set the "Plugged in" setting to Never.

Troubleshooting

The PC still locks after I changed the settings: First, restart your computer to ensure the new settings take effect. If it persists, check if third-party software like antivirus programs or remote access tools (e.g., TeamViewer, AnyDesk) are enforcing their own idle timeouts. These apps often have their own "idle lock" features that override Windows settings.

I cannot find the Group Policy Editor: As noted, this feature is not available in Windows 10 Home. If you are on Home edition and the standard settings do not work, you likely have a manufacturer-specific utility installed (such as Dell Command, HP Support Assistant, or Lenovo Vantage) that manages power plans. Open that manufacturer's software and look for power management options there.

Settings reset after a Windows Update: Occasionally, major feature updates can reset power plans to default. Reapply the changes listed in the Step-by-Step section after any significant update.

Frequently Asked Questions

Will disabling the lock screen slow down my computer?

No. Disabling the automatic lock and sleep timers has no negative impact on performance. It simply keeps the hardware running at full capacity rather than entering a low-power state.

Is it safe to leave my computer unlocked?

It depends on your environment. If you are in a secure home office, it is generally fine. If you are in a public space or an open-plan office, keeping the screen locked provides essential security against unauthorized access. Consider using a privacy filter if you choose to disable the lock.

Can I set a custom time instead of "Never"?

Yes. Instead of selecting "Never," you can choose any duration available in the dropdown menus, such as 1 hour, 2 hours, or 4 hours. This allows you to balance convenience with energy savings.

Does this work on Windows 11?

Yes, the process is nearly identical. In Windows 11, you go to Settings > System > Power & battery (or Power & sleep on desktops) and follow the same steps for Screen and Sleep timeouts. The legacy screen saver path also remains the same.

Why does my screen go black even if I set it to Never?

If you set the screen timeout to Never, the monitor should stay on. If it goes black, check your monitor's physical buttons or OSD (On-Screen Display) menu. Some monitors have their own "Eco Mode" or auto-shutdown feature that turns off the display after a period of no signal, independent of Windows settings.