Diverter with Automatic Motorized Locking of the Mechanics