This command enables and disables (toggles) the locking of the camera. If the camera is locked, it will not move from its current position until unlocked via console command.
lockcamera