When you connect to your computer remotely, if you do not want the computer to be operated by others, you can turn on the option to prohibit input. 

Dsiable Input

When this option is turned on, the recipient will temporarily lose control of mouse and keyboard.