You cannot lock the desktops without signing out.

You can stay logged in at your own risk, or you can log out and log back in.

If it does not give you an option to log out, you can hit Ctrl + Alt + Delete and sign out from there. If that does not work, you can shut down the computer.