A lock , in particular for a two-wheeler, preferably at least partly drivable in a motorized manner, comprising - a lock body ; - a hoop which is movable between an open position and a closed position; - a latch which is movably supported at the lock body between a locked position in which it blocks the hoop , while the hoop is in the closed position, against a departure from the closed position, and an unlocked position in which it releases the hoop ; - a sensor for detecting the latch position; and - a movably supported lever , wherein a coupling section of the lever is movement-coupled to the latch ; wherein the lever is supported such that, on a movement of the coupling section , a deflection section of the lever spaced apart from the coupling section carries out a movement which is larger in comparison with the movement of the coupling section ; wherein the sensor detects the position of the deflection section of the lever to detect the latch position; wherein the latch is preloaded against the hoop so that it contacts a contour of the hoop ; wherein the contour of the hoop is configured such that, as a consequence of the preload, the latch - adopts its locked position in the closed position of the hoop ; - adopts its unlocked position in positions of the hoop that are between the closed position and the open position of the hoop ; and - adopts a securing position differing from the locked position and the unlocked position in the open position of the hoop , said securing position preferably being disposed between the locked position and the unlocked position; and wherein at least the three positions of the deflection section of the lever which correspond to the locked position, to the unlocked position and to the securing position of the latch can be reliably distinguished by means of the sensor . - a lock body ; - a hoop which is movable between an open position and a closed position; - a latch which is movably supported at the lock body between a locked position in which it blocks the hoop , while the hoop is in the closed position, against a departure from the closed position, and an unlocked position in which it releases the hoop ; - a sensor for detecting the latch position; and - a movably supported lever , wherein the lever is supported such that, on a movement of the coupling section , a deflection section of the lever spaced apart from the coupling section carries out a movement which is larger in comparison with the movement of the coupling section ; wherein the sensor detects the position of the deflection section of the lever to detect the latch position; wherein the latch is preloaded against the hoop so that it contacts a contour of the hoop ; wherein the contour of the hoop is configured such that, as a consequence of the preload, the latch - adopts its locked position in the closed position of the hoop ; - adopts its unlocked position in positions of the hoop that are between the closed position and the open position of the hoop ; and - adopts a securing position differing from the locked position and the unlocked position in the open position of the hoop , said securing position preferably being disposed between the locked position and the unlocked position; - adopts its locked position in the closed position of the hoop ; - adopts its unlocked position in positions of the hoop that are between the closed position and the open position of the hoop ; and - adopts a securing position differing from the locked position and the unlocked position in the open position of the hoop , said securing position preferably being disposed between the locked position and the unlocked position; <EOS>