Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - These are not the droids you are looking for.

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews



IObit Black Friday Sale

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. MusicBee
5. K-Lite Mega Codec Pack
6. Microsoft Visual C++ 2015-2022 Redistributable Package
7. QRes
8. Sergei Strelec's WinPE
9. Visual C++ Redistributable Runtimes AIO Repack
10. McAfee Removal Tool (MCPR)
More >>

top reads

Star How To Disable (or Uninstall) OneDrive

Star How to Auto-Switch Between Light and Dark Mode With PowerToys

Star How To Automatically Lock Your PC in Windows 11

Star What To Do When Microsoft Flags Unusual Sign-in Activity on Your Account

Star How To Remove the Windows 11 Updated Start Menu

Star How To Disable Drag Tray

Star How To Permanently Delete Files Without Sending Them to the Recycle Bin in Windows 11

Star How To Repair Install Windows 11, and Keep All Your Files and Apps

Star How To Turn Off Folder Backup Syncing on OneDrive

Star AI Actions - What Are They and How To Enable/Disable Them


MajorGeeks.Com » Overview» Tutorials and Video Guides » How To Automatically Lock Your PC in Windows 11

How To Automatically Lock Your PC in Windows 11

By selma čitaković

on 02/28/2026

Show your PC some ❤️ Up to 90% off IObit’s top tools + 2 free months for Valentine’s Day
Because your PC doesn't care about Flowers and Candy!



Win + L is great when you want to quickly lock your screen, but it's easy to forget when you step away from your PC. If you care about your privacy and don't want anyone snooping around, you can set your computer to lock itself automatically after inactivity.

Below, I'll show you four simple ways to do this in Windows 11, so read on.

Lock screen settings



You can set your computer to auto-lock when idle in the Settings. Let me show you how:
  1. Go to Settings > Personalization > Lock screen.
  2. Click on Screen saver under Related settings.
  3. In the new window, select (None) for Screen saver.
  4. Check " On resume, display log-on screen".
  5. Choose how many minutes you want your PC to wait while idle before automatically locking.
  6. Click OK.



To undo this and disable auto-lock, uncheck " On resume, display log-on screen" and click OK.

Dynamic Lock



A fairly obscure feature, I know, but it works! Basically, you pair your phone and PC via Bluetooth. When you walk away far enough with your phone, your PC will detect it and automatically lock. Dynamic Lock will activate when you're out of Bluetooth range.

Here's how to turn it on:
  1. Go to Settings > Accounts > Sign-in options.
  2. Click Dynamic lock under Additional settings.
  3. Check Allow Windows to automatically lock your device when you're away.



If you want to disable it, just uncheck the same option.

However, for this to work, you'll first have to add your phone as a paired device in Bluetooth & devices, and keep Bluetooth enabled on your phone. If you turn it off, Dynamic Lock will take that as you "being away" and lock your screen.

Local Security Policy



You can also configure your computer with the Local Security Policy to lock automatically after a certain period of inactivity. However, this tool is only available to Pro, Education, and Enterprise editions.

To use it, make sure you sign in as an administrator first, and do the following:

  1. Press Win + R, type secpol.msc, and press Enter.
  2. Navigate to Local Policies > Security Options.
  3. Double-click Interactive logon: Machine inactivity limit.
  4. Input a number between 0 and 599940 seconds (that's 9999 minutes), and click OK.
  5. Restart to apply the changes.




If you want to disable this policy, enter 0 and click OK.

Registry Editor



Alternatively, you can configure the same policy with the Registry Editor. It's completely safe, as long as you follow the instructions. Still, you can create a system restore point if you want to play it extra safe.

Here are the steps:
  1. Type regedit in Windows Search and click on Run as administrator.
  2. Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System. You can paste this in the address bar at the top.
  3. While in the System key, double-click InactivityTimeoutSecs if available. If you can't find it, right-click an empty spot, select New > DWORD (32-bit) Value. Name it InactivityTimeoutSecs, and double-click it.
  4. Select Decimal, and type a number between 0 and 599940 for seconds of inactivity. Your PC will automatically lock after this specified time.
  5. Click OK.
  6. Restart to apply the changes.



If you want to undo this, type 0 in InactivityTimeoutSecs and click OK.

So, now you can rest easy knowing your PC will lock itself, even if you forget to do it. Your secrets will be safe. Probably.

selma citakovic
selma citakovic
Selma is a gamer, geek and gremlin hunter with a passion for cyber security and smashing Windows bugs before they bite. She’s IBM-certified, loves real freeware, despises bloatware, and powers most of her troubleshooting with an unhealthy amount of coffee.

comments powered by Disqus




© 2000-2026 MajorGeeks.com
Powered by Contentteller® Business Edition