The pink pin moving in a fixed hole allows only one shaft to turn at a time. The other shaft is locked due to the engagement of its hole with the pink pin.
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.