Self-locking lock, in particular mortise lock, for a door , a window or the like, with a locking mechanism mounted in a lock housing , wherein the lock mechanism comprises: - a bolt which is movably mounted in the lock housing and displaceable from a retracted position, in which the bolt is received in the lock housing , into a protruding position, in which the bolt protrudes from the lock housing , - a spring which directly or indirectly acts on the bolt in the direction of the protruding position, - an electric motor with an output member displaceable by the electric motor , wherein the output member is engageable directly or indirectly with the bolt in order to displace the bolt into the retracted position, wherein the motorized output member is displaceable into an intermediate position in which the motorized output member is engaged with the bolt or forms a stop in such a way as to hold the bolt in a position in which the bolt is in a position which lies between the retracted position and the protruding position, characterized in that the lock mechanism has a lock follower which is designed as a multi-part follower with a rotatable outer follower part and a rotatable inner follower part, wherein a clutch lever is rotatably mounted on the inner follower part, wherein the inner follower part and the outer follower part are movably connected when the clutch lever is engaged, and wherein the inner follower part and the outer follower are rotatable independently of each other when the clutch lever is disengaged. - a bolt which is movably mounted in the lock housing and displaceable from a retracted position, in which the bolt is received in the lock housing , into a protruding position, in which the bolt protrudes from the lock housing , - a spring which directly or indirectly acts on the bolt in the direction of the protruding position, - an electric motor with an output member displaceable by the electric motor , wherein the output member is engageable directly or indirectly with the bolt in order to displace the bolt into the retracted position, wherein the motorized output member is displaceable into an intermediate position in which the motorized output member is engaged with the bolt or forms a stop in such a way as to hold the bolt in a position in which the bolt is in a position which lies between the retracted position and the protruding position, characterized in that the lock mechanism has a lock follower which is designed as a multi-part follower with a rotatable outer follower part and a rotatable inner follower part, wherein a clutch lever is rotatably mounted on the inner follower part, wherein the inner follower part and the outer follower part are movably connected when the clutch lever is engaged, and wherein the inner follower part and the outer follower are rotatable independently of each other when the clutch lever is disengaged. wherein the motorized output member is displaceable into an intermediate position in which the motorized output member is engaged with the bolt or forms a stop in such a way as to hold the bolt in a position in which the bolt is in a position which lies between the retracted position and the protruding position, characterized in that the lock mechanism has a lock follower which is designed as a multi-part follower with a rotatable outer follower part and a rotatable inner follower part, wherein a clutch lever is rotatably mounted on the inner follower part, wherein the inner follower part and the outer follower part are movably connected when the clutch lever is engaged, and wherein the inner follower part and the outer follower are rotatable independently of each other when the clutch lever is disengaged. <EOS>