Common control of parking locks or brakes in the transmission and other parking brakes