The invention relates to a lock for a motor vehicle or a building, said lock being equipped with a rotary latch (2) rotatably supported in the lock housing (10) about a locking bolt (3), wherein the lock housing (10) has a slotted guide (8) for the locking bolt (3), said slotted guide having at least one spring lip (15) on the insertion side, which spring lip reaches into the slotted guide and cushions the locking bolt (3), said spring lip having creaking protection (17) that partially covers the surface (16) of the spring lip, wherein the spring lip (15) has a bounding bead (20) at the free end (18) and wherein the creaking protection (17) is designed as a sheet metal clamp (21) that can be attached to the spring lip (15) in front of the bounding bead with a preload.