General Lock Computer in Windows 11


Lock_screen_banner.png

This tutorial will show you different ways to lock the computer in Windows 11.

When you lock the computer, it protects the computer from unauthorized use when you need to step away from the PC, and don't want to sign out or shut down causing everything open to be closed.

When you lock the computer, you will be taken to the lock screen by default to dismiss and sign in when ready to continue where you left off. Other users can still sign in to their accounts from the sign-in screen.

Reference:

If you disable the lock screen, you will be taken to the sign-in screen when you lock the computer instead of the lock screen.

If you have Secure sign-in enabled, users will be required to press the Ctrl+Alt+Delete keys on the lock screen to unlock it and sign in.



Contents



EXAMPLE: lock screen

lock_screen.jpg





Option One

Lock Computer using Keyboard Shortcut


1 Press the Win + L keys.




Option Two

Lock Computer from Start Menu


1 Open the Start menu :win:.

2 Perform an available step below: (see screenshots below)
  • (OLD) Click/tap on the account icon to open the account picture menu, and click/tap on Lock.
  • (NEW) Click/tap on the Power button, and click/tap on Lock.

lock_computer_from_Start_menu.jpg
Lock_Start_Menu-2.jpg





Option Three

Lock Computer from Ctrl+Alt+Del Screen


1 Press the Ctrl + Alt + Del keys. (see screenshot below)

2 Click/tap on Lock.

lock_computer_from_Ctrl+Alt+Del_screen.png





Option Four

Lock Computer from Task Manager


1 Open Task Manager in more details view.

2 Click/tap on the Users tab, select your account, and click/tap on Disconnect. (see screenshot below)

lock_computer_from_Task_Manager-1.png

3 Click/tap on Disconnect user to confirm. (see screenshot below)

lock_computer_from_Task_Manager-2.png




Option Five

Lock Computer using Command


1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)

rundll32.exe user32.dll,LockWorkStation

lock_computer_command.png





Option Six

Turn On or Off Screen Saver to Automatically Lock Computer when Idle


1 Open Settings (Win+I).

2 Click/tap on Personalization on the left side, and click/tap on Lock screen on the right side. (see screenshot below)

ScreenSaver_settings-1.png

3 Click/tap on Screen saver on the right side. (see screenshot below)

ScreenSaver_settings-2.png

4 Do step 5 (on) or step 6 (off) below for what you want.

5 Turn On Screen Saver to Automatically Lock Computer when Idle

A) Select (None) for Screen saver. (see screenshot below)​

B) Check On resume display logon screen.​

C) Select how many minutes to Wait while idle to automatically lock the computer.​

D) Click/tap on OK.​

6 Turn Off Screen Saver to Not Automatically Lock Computer when Idle

This is the default setting.


A) Uncheck On resume display logon screen. (see screenshot below)​

B) Click/tap on OK.​

ScreenSaver_settings-3.png





Option Seven

Turn On or Off Dynamic Lock to Automatically Lock Computer when Step Away


1 For how, see:




That's it,
Shawn Brink


 
Last edited:
Great tutorial!
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion Laptop 15-cw1xxx
    CPU
    AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
    Memory
    8.00 GB
    Graphics Card(s)
    AMD Radeon(TM) Vega 8 Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Generic PnP Monitor
    Screen Resolution
    1920x1080
    Hard Drives
    LITEON CV8-8E128-HP (SSD)
    WDC WD10SPZX-60Z10T0 (Hard Drive)
    PSU
    Microsoft ACPI-Compliant Control Method Battery
    Case
    Proprietary HP Pavilion Laptop 15 shell
    Cooling
    Active Fan Cooling
    Keyboard
    Standard PS/2 Keyboard
    Mouse
    ELAN Clickpad
    Internet Speed
    35.50 Mbps download 23.44 Mbps upload
    Browser
    Edge
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 24h2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Apple iMac "Core i5" 2.7 21.5" (Late 2012)
    CPU
    Intel® Core™ i5-3330S Processor
    Motherboard
    Ivy Bridge (LGA 1155)
    Memory
    8.00 GB DDR3 1600 MHz
    Graphics card(s)
    NVIDIA GeForce GT 640M
    Sound Card
    Cirrus Logic CS4206B (AB 90)
    Monitor(s) Displays
    Generic Monitor (iMac)
    Screen Resolution
    1920x1080
    Hard Drives
    APPLE HDD HTS541010A9E662 (Hard Drive 1TB)
    PSU
    Integrated
    Case
    iMac Aluminum Body
    Cooling
    Fan
    Mouse
    Lenovo
    Keyboard
    HP SK-2085
    Internet Speed
    90.8 Mbps download 23.4 Mbps upload
    Browser
    Google Chrome
    Antivirus
    Windows Defender
Back
Top