TechBuzzPro

How to Prevent Windows 10 from Locking

· 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

Yes, you can prevent Windows 10 from locking automatically by adjusting power and sleep settings. This is achieved by configuring the system to never enter sleep mode when plugged in and disabling the screen timeout that triggers the lock screen.

What You'll Need

  • A Windows 10 PC or laptop connected to a power source (for best results)
  • Administrator access to change system settings
  • Your mouse or trackpad

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. In the Settings window, click on System.
  2. Navigate to Sleep Options: On the left-hand sidebar, scroll down and select Power & sleep. This section controls how long your computer waits before turning off the display or going to sleep.
  3. Adjust Screen Timeout: Look for the Screen dropdown menu under the "Screen" heading. Change the setting from its default value (e.g., 5 minutes) to Never. Note: This will only apply when your device is running on battery power if you are using a laptop. If you want this to apply even on battery, look for a separate dropdown labeled "On battery power" and set it to Never as well, though this will drain your battery quickly.
  4. Adjust Sleep Timeout: Look for the Sleep dropdown menu under the "Sleep" heading. Change the setting to Never. This prevents the computer from entering low-power sleep mode, which is the primary cause of the system locking up after inactivity.
  5. Save Changes: The changes are saved automatically in Windows 10. You do not need to click an Apply button. Close the Settings window.
  6. Verify Group Policy (Optional but Recommended): Sometimes, enterprise policies override individual settings. Press Win + R, type gpedit.msc, and press Enter. Navigate to User Configuration > Administrative Templates > Control Panel > Personalization. Double-click Screen saver and ensure it is set to Not Configured or Disabled. Also check Require a password when a computer wakes (plugged in) and disable it if necessary.

Common Mistakes

One common mistake is only changing the "Screen" timeout while leaving the "Sleep" timeout active. The screen may stay on, but the computer will still go to sleep and lock shortly after, rendering your effort useless. Another frequent error is forgetting that these settings often differ between "On battery" and "Plugged in." If you leave the office charger, your laptop might revert to aggressive sleep settings designed to save power. Always check both dropdowns if you use a portable device.

Tips

  • Use a Mouse Jiggler: If you cannot change system settings due to work restrictions, consider using a hardware USB mouse jiggler. These small devices simulate slight mouse movements to keep the system awake without requiring software installation.
  • Keep Your PC Plugged In: For permanent solutions, always connect your laptop to power. Battery-saving modes are more aggressive about locking screens to preserve charge.
  • Disable Fast Startup: Occasionally, the "Fast Startup" feature can interfere with power states. Go to Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do. Uncheck "Turn on fast startup" and save changes.

Troubleshooting

If your computer still locks despite following these steps, perform the following checks in order:

  1. Check for Third-Party Software: Applications like TeamViewer, AnyDesk, or custom power management utilities can override Windows settings. Check their preferences to ensure they are not forcing a lock or sleep state.
  2. Review Group Policies: If you are on a work or school computer, your IT department may enforce a policy that overrides local settings. Contact your administrator if you suspect this is the case.
  3. Update Graphics Drivers: Outdated display drivers can sometimes cause incorrect power state reporting. Visit your GPU manufacturer's website (NVIDIA, AMD, or Intel) to download the latest drivers.
  4. Reset Power Plan: Open Command Prompt as Administrator. Type powercfg -restoredefaultschemes and press Enter. This resets all power plans to their original defaults, which you can then reconfigure correctly.

Frequently Asked Questions

Will preventing Windows 10 from locking void my warranty?

No. Adjusting power and sleep settings is a standard user configuration and does not affect hardware warranties.

Can I prevent locking only on battery power?

Yes, but it is not recommended. Doing so will significantly reduce your laptop's battery life and may cause overheating if the system cannot cool down properly during sleep.

Does this method work on Windows 11?

The steps are nearly identical. Windows 11 also uses the System > Power & sleep menu structure, so the instructions provided here are largely applicable.

Why does my computer still ask for a password after I wake it?

Preventing sleep stops the machine from entering a locked state automatically. However, Windows requires a password to unlock the session once you interact with it again. To remove this requirement, you must additionally disable the password prompt in Settings > Accounts > Sign-in options.

Is it safe to leave my computer running all the time?

It is generally safe for modern computers, but it increases electricity usage and wear on components like fans and hard drives. Ensure your PC is in a well-ventilated area and clean dust from vents regularly.