Click to enter mouselock, click again to unlock, click again to exit full screen.

Demo page