In Windows 10:
  • left-click the Start button
  • hover the mouse over the power button
  • left-click the username at the top of the list
  • left-click Lock