A control device for a vehicle gearbox, comprising - a support casing, - a control lever having a supporting body pivotally mounted about an oscillation axis within said support casing, and having parking, reverse, neutral and drive operating positions, - a transmission member, pivotally mounted within said support casing and operatively connected to said supporting body of the control lever, said transmission member having a first portion for connecting a gearbox control cable, - a locking member, pivotally mounted within said support casing, for locking the gearbox control lever in the parking position, said locking member being elastically recalled in a first oscillation direction, towards an operating position in which a first portion of said locking member interferes with said supporting body of the control lever, preventing it from moving away from the parking position, - a solenoid actuator, for rotating said locking member in a second oscillation direction, to move it away from said operating position in which it locks the control lever in the parking position, - wherein in said second oscillation direction said locking member also has a further operating position towards which it can be recalled by activation of said solenoid actuator, in which a second portion (10C, 10C1) of the locking member is received in a cooperating seat of a second portion of said transmission member, for locking the control lever in the neutral position, and - an electronic controller configured to activate said solenoid actuator when said control lever must be freed from a locked condition in the parking position and when said control lever must be locked in the neutral position, said control device being characterized in that: - an anti-locking pawl is pivotally mounted on said second portion of the transmission member, having: - an operative position in which it prevents the second portion (10C, 10C1) of the locking member from being received within said seat of the transmission member, and - a rest position, towards which it is elastically recalled, in which it does not prevent the second portion (10C, 10C1) of the locking member from being received within said seat, - said anti-locking pawl being configured in such a way that, during the passage of the control lever from the parking position to the neutral position, if said solenoid actuator remains active, the anti-locking pawl is engaged by said locking member and pushed into its operating position, preventing unwanted locking of the control lever in the neutral position. - a support casing, - a control lever having a supporting body pivotally mounted about an oscillation axis within said support casing, and having parking, reverse, neutral and drive operating positions, - a transmission member, pivotally mounted within said support casing and operatively connected to said supporting body of the control lever, said transmission member having a first portion for connecting a gearbox control cable, - a locking member, pivotally mounted within said support casing, for locking the gearbox control lever in the parking position, said locking member being elastically recalled in a first oscillation direction, towards an operating position in which a first portion of said locking member interferes with said supporting body of the control lever, preventing it from moving away from the parking position, - a solenoid actuator, for rotating said locking member in a second oscillation direction, to move it away from said operating position in which it locks the control lever in the parking position, - wherein in said second oscillation direction said locking member also has a further operating position towards which it can be recalled by activation of said solenoid actuator, in which a second portion (10C, 10C1) of the locking member is received in a cooperating seat of a second portion of said transmission member, for locking the control lever in the neutral position, and - an electronic controller configured to activate said solenoid actuator when said control lever must be freed from a locked condition in the parking position and when said control lever must be locked in the neutral position, - an anti-locking pawl is pivotally mounted on said second portion of the transmission member, having: - an operative position in which it prevents the second portion (10C, 10C1) of the locking member from being received within said seat of the transmission member, and - a rest position, towards which it is elastically recalled, in which it does not prevent the second portion (10C, 10C1) of the locking member from being received within said seat, - said anti-locking pawl being configured in such a way that, during the passage of the control lever from the parking position to the neutral position, if said solenoid actuator remains active, the anti-locking pawl is engaged by said locking member and pushed into its operating position, preventing unwanted locking of the control lever in the neutral position.