Instructions:

  1. Right click on desktop
  2. Click "New" and "Shortcut"
  3. Type "rundll32.exe user32.dll,LockWorkStation" in location field
  4. Give your shortcut a name (Lock computer)

Double click the shortcut will lock the computer. Windows key + L will also lock your computer. When computer is locked, a password is required to unlock.