Lock Screen Command Windows 10, Step 1: Open the Command Prompt using search.