It is easier to fly and maneuver with gimbals unlocked, but easier to aim fixed weapons with gimbals locked. Either locking or unlocking gimbals before a fight means you are at a significant maneuverability or aiming disadvantage, respectively. Ideally you want to swap between modes rapidly so...