How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (2024)

How-To

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (1)

By Brian Burgess

Updated

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (2)

When you walk away from your PC, you should always lock it. But sometimes you forget. Here is how to make Windows 10 automatically lock when you want it to.

When you walk away from your computer, you want to make sure to lock it so other people can’t access your machine and its data. You can, of course, manually lock your Windows 10 PC down by hitting Windows Key + L or Ctrl + Alt + Del. But sometimes you forget. The cool thing is you can make Windows 10 lock automatically after a set time of inactivity. Here is a look at a few ways you can set this up.

Lock Windows 10 Automatically Using Your Screen Saver

This is probably the simplest method and an old trick. Open Start and type: change screen saver and click on the “Best Match” result.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (3)

Next, the Screen Saver Setting windows will come up. Set your screen saver to something from the dropdown list. Personally, I use the “Blank” option. But the important thing to do is make sure to check the “On resume, display logon screen” box set the “Wait” time to however many minutes you want, and click OK.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (4)

That’s all there is to it. After the period of inactivity that you set up, your screen saver will come up and require you to enter your PIN or password to unlock it.

Make Windows 10 Lock Automatically Using SecPol

Now, it’s time to get geekier. If you’re running the Pro version of Windows, you can use the Local Security Policy feature. Hit Windows Key + R and type: secpol.msc and click OK or hit Enter to launch it.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (5)

Open Local Policies > Security Options and then scroll down and double-click “Interactive Logon: Machine inactivity limit” from the list.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (6)

Enter the amount of time you want Windows 10 to shut down after no activity on the machine. When the Limit Properties window opens, you can type in an inactivity limit between one to 599940 seconds. Keep in mind that the max is 166 hours, and you won’t want the number of seconds too low as it would get annoying to have your PC lock all the time.

When you’re finished, you need to sign out of your session or restart your PC for the changes to take place.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (7)

When it comes to figuring out the number of seconds to use, here, it’s good to use some time unit conversions with your favorite search engine. For example, 10 minutes would be 600 seconds.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (8)

Enable Windows 10 Auto Lock Using the Registry

If you are running Windows 10 Home, you don’t have access to the Local Security Policy tool. However, you can do the same thing by hacking the Registry. But this is a method only experienced users can try. If you’re on Windows 10 Home, you might want to use the Screen Saver trick.

Important: Remember that tweaking settings in the Registry isn’t for inexperienced users. Changing the wrong thing can take down your whole computer. Before making any tweaks to the Registry, make sure toback it upfirst,create a System Restore Pointand have afull backup image ready if you need to recover your system.

To get started, hit Windows Key + R and type: regedit and click OK or hit Enter to launch the Registry.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (9)

Then head to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Now create a new 32-bit DWORD Value called InactivityTimeoutSecs and give it a value between 0 or 599940 – again, that is the number of seconds of inactivity you want to pass before locking your system.

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (10)

Then, sign out of your session or restart your PC for the settings to go into effect. If you want to change the time, go back to the InactivityTimeoutSecs key and change it.

Whether you go the simple route or get geekier by digging into your system, this is a good thing to have set up if you walk away from your machine and forget to lock it down. You will need to change the time values depending on your situation, but having the auto-lock backup will provide extra peace of mind.

Click to comment

Leave a Reply

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (11)

Related Items:Microsoft, Security, Windows, Windows 10

Recommended for you

  • Microsoft Backtracks: Copilot+ AI PCs Won’t Have Recall Feature On by Default

  • What is Recall on Windows 11 PCs?

  • Test New Windows 11 Features: Insider Build 26231 is Available in the Canary Channel

How to Make Windows 10 Lock Automatically After a Set Amount of Inactivity (2024)

References

Top Articles
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6028

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.