<p>The lock has an operating unit (5) designed as a rotor and movable from a starting position to an operating position. The operating unit acts together with a signal generating element (6) in the operating position for generating electrical system signals for a motor vehicle. The signal generating element has an angle encoder in the form of a rotating angle sensor, an electrical switching element and a sensor element, where the angle encoder is operated by a cam disk that is arranged at the operating unit.</p>