How to sign out from Windows 10?
How to set Windows 10 to sleep mode?
Just right click on Windows 10 logo, select shutdown or sign out.
Then click in sign out or sleep or select other options provided.
To do it via command line check out this link:
See screen shot below: