Only one shaft can move at a time. The second shaft is locked due to the engagement of its circular groove with the pink ball.
The mechanism is used in case the concurrent motions can cause damage.
Disadvantage: need to bring the mechanism to initial position for changing the moving shaft.