How Hide, Block, and turn camera on clicking right mouse button?

Thank you so much for your help