A device that has two related and interdependent functions: (1) to prevent (electrically) the operation of the hoisting machine, as long as the door is locked in the closed position; (2) to prevent (mechanically) the opening of the car door from within it, unless the elevator is in the door zone and stopped.