General Lock Computer in Windows 11

  • Staff

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.

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.


EXAMPLE: lock screen


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 Click/tap on the account icon to open the account picture menu. (see screenshot below)

3 Click/tap on Lock.


Option Three

Lock Computer from Ctrl+Alt+Del Screen

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

2 Click/tap on Lock.


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)


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


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


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)


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


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.​


Option Seven

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

1 For how, see:

That's it,
Shawn Brink



  • Lock_sceen.png
    2.6 KB · Views: 116
Last edited:
Top Bottom