Not sure if this would help, but it seems that I can usually fix the lock issue when in an SPG and I am aimed in. If you click on the map to view another area and it forces the gun turret/crosshair to move, it will then unlock the camera. It is definitely an elusive bugger.