Mouse lock