Sometimes you may want to restrict the camera movement, so that e.g. the user can only pan in the view direction that you set.
In order to achieve that you just need to lock the camera using
and enable the "pan" operation using
You can find more information about these functions in the online documentation: