Every desktop operating system features a lock screen, which is useful for switching between accounts and securing a device while the user is away. While you can access the lock screen by clicking through menus, there is a faster way. Here’s how you can lock your computer with a keyboard shortcut.

  • Windows users - Press Ctrl+L at the same time.
  • macOS users - Press Command+Control+Q at the same time.

Your computer needs to have user accounts and passwords set up for this feature to work properly. For instructions, see the Additional information section below.

  • How to change a username or password.
  • How to create a new user in Windows.
  • How to add a new user account on a Mac.
  • How to switch users in Windows.
  • How to switch users on a Mac.
  • How to manage user accounts.