A lockable storage compartment, in particular a battery compartment of an electric bicycle, having a wall which has an access opening, further having a movable cover for closing the access opening, and having a lock cylinder for locking a cover which is mounted at the movable cover, wherein the lock cylinder has a cylinder housing, a rotor and a single-piece latch, wherein the rotor is rotatably supported about a cylinder axis in the cylinder housing and has a drive section at the rear side of the lock cylinder, wherein the latch is rotationally fixedly mounted at the drive section of the rotor and projects beyond the cylinder housing in a radial direction with respect to the cylinder axis, wherein the latch is angled towards the front side of the lock cylinder, starting from the drive section of the rotor, wherein the latch is cranked and, starting from the drive section of the rotor, has a fastening section with which the latch is fastened to the drive section, a connection section extending obliquely along the cylinder axis, and a locking section, wherein the locking section of the latch has an elevated portion facing towards the front side of the lock cylinder, characterized in that the locking section of the latch has a base surface which extends perpendicular to the cylinder axis, with the elevated portion of the latch being formed by an elevated latching portion which is convex relative to the base surface, and in that the wall of the storage compartment has, at an inner side of the storage compartment, a recess, which is complementary to the elevated latching portion of the latch, for an engagement with the latch of the lock cylinder when the latch is in a locking position. having a wall which has an access opening, further having a movable cover for closing the access opening, and having a lock cylinder for locking a cover which is mounted at the movable cover, wherein the lock cylinder has a cylinder housing, a rotor and a single-piece latch, wherein the rotor is rotatably supported about a cylinder axis in the cylinder housing and has a drive section at the rear side of the lock cylinder, wherein the latch is rotationally fixedly mounted at the drive section of the rotor and projects beyond the cylinder housing in a radial direction with respect to the cylinder axis, wherein the latch is angled towards the front side of the lock cylinder, starting from the drive section of the rotor, wherein the latch is cranked and, starting from the drive section of the rotor, has a fastening section with which the latch is fastened to the drive section, a connection section extending obliquely along the cylinder axis, and a locking section, wherein the locking section of the latch has an elevated portion facing towards the front side of the lock cylinder, characterized in that the locking section of the latch has a base surface which extends perpendicular to the cylinder axis, with the elevated portion of the latch being formed by an elevated latching portion which is convex relative to the base surface, and in that the wall of the storage compartment has, at an inner side of the storage compartment, a recess, which is complementary to the elevated latching portion of the latch, for an engagement with the latch of the lock cylinder when the latch is in a locking position.