⚠️ Not instant – but fully automatic, no timer needed.
Here are the three most effective methods to set up auto-lock.
👉 The script monitors idle time in the background and locks after your chosen minutes. how to auto lock windows 11
Only available on . Home users skip to Method 4.
: Press Windows + S , type "Change screen saver," and select the matching result. Configure Lock : Choose a screen saver (e.g., "Blank") from the dropdown. ⚠️ Not instant – but fully automatic, no timer needed
Now, after your set time expires, the screen saver will appear, and moving the mouse or pressing a key will bring up the login screen.
(Change 5 to your desired minutes.)
Works on , including Home.
Set PC to lock automatically when waking from sleep: Only available on
Note: Keep Bluetooth enabled on your phone for this feature to function correctly.
Set the time in minutes for when the lock should trigger.