The gearboxes tend to locked when they are transmiting high torque, in this cases you need to use a clutch for disconnect the gearbox to the trasmission between speed changes.
For eliminate this problems exist a gearbox type which doesn't need clutch for change speeds, the planetary gearboxes.