If Windows 10 locks after a period of inactivity, the cause can be the screen saver, sleep settings, or an organizational security policy. Reducing automatic locking is convenient, but it also leaves the account accessible when you walk away.
Check the screen saver sign-in setting
- Open Start and search for screen saver.
- Open Change screen saver.
- Review the wait time and the option to show the logon screen on resume.
- Adjust the setting only if the PC’s security requirements allow it.
Check sleep and sign-in behavior
Open Settings and review the power/sleep settings along with Accounts > Sign-in options. The exact controls shown depend on the Windows 10 build, account type, and hardware.
If the setting is controlled by work or school
A company or school can enforce inactivity locking through policy. If an option is unavailable or the PC continues to lock after you change local settings, contact the administrator rather than trying to bypass the policy with Registry edits or scripts.
Consider a longer delay instead of disabling locking
On a home desktop in a controlled location, a longer timeout may be reasonable. On laptops and shared computers, automatic locking protects files, saved browser sessions, email, and other account data.
Microsoft’s standard support period for Windows 10 ended October 14, 2025. For compatible hardware, upgrading to Windows 11 is preferable to making long-term security-policy changes on an out-of-support Windows installation.

Matt Jacobs has been working as an IT consultant for small businesses since receiving his Master’s degree in 2003. While he still does some consulting work, his primary focus now is on creating technology support content for SupportYourTech.com.
His work can be found on many websites and focuses on topics such as Microsoft Office, Apple devices, Android devices, Photoshop, and more.