Windows lock command cmd. Enter the command: Lock your Windows 10/11 PC's screen ...