Added mouse lock support
Made cursor lock after unlocking it