Lock for a door, window or similar, preferably for use as a panic lock in escape and emergency routes, having a lock case and a lock mechanism arranged therein with a bolt and/or lock latch and having a follower for connecting an external actuator, wherein the follower is formed as a multi-part follower which has a first connecting follower and a second connecting follower, wherein it is provided that - the first connecting follower can be switched into an active position in which the first connecting follower is connected to the lock mechanism, and can be switched into an inactive position in which the first connecting follower is not connected to the lock mechanism, - the second connecting follower can be switched into an active position in which the second connecting follower is connected to the lock mechanism and can be switched into an inactive position in which the second connecting follower is not connected to the lock mechanism, - the follower is formed as a three-part follower, comprising the first connecting follower, a lock follower and the second connecting follower, wherein the lock follower is formed for actuating the lock mechanism, in particular the bolt and/or the lock latch, - for switching between its active position and inactive position, the first connecting follower can be coupled to and decoupled from the lock follower by means of a first coupling device, wherein, in active position, the first connecting follower is torque-proof connected to the lock follower and is thus able to be rotated in the lock case and, in its inactive position, is decoupled from the lock follower in the lock case to be freely rotatable, - for switching between its active and inactive position, the second connecting follower can be coupled to and decoupled from the lock follower by means of a second coupling device, wherein, in active position, the second connecting follower is torque-proof connected to the lock follower and is thus able to be rotated in the lock case and, in its inactive position, is decoupled from the lock follower in the lock case to be freely rotatable, characterised in that a selection device is formed in such a way that the first connecting follower or/and the second connecting follower can be switched into an active position by means of the selection device, and the selection device has a first reception fixed at the housing, in which a first selection element is arranged in such a way and can be positioned therein that the first selection element acts on the follower in such a way that the first connecting follower is switched into an active or an inactive position, and the selection device has a second reception fixed at the housing, in which a second selection element is arranged in such a way and can be positioned therein that the second selection element acts on the follower in such a way that the second connecting follower is switched into an active or inactive position. - the first connecting follower can be switched into an active position in which the first connecting follower is connected to the lock mechanism, and can be switched into an inactive position in which the first connecting follower is not connected to the lock mechanism, - the second connecting follower can be switched into an active position in which the second connecting follower is connected to the lock mechanism and can be switched into an inactive position in which the second connecting follower is not connected to the lock mechanism, - the follower is formed as a three-part follower, comprising the first connecting follower, a lock follower and the second connecting follower, wherein the lock follower is formed for actuating the lock mechanism, in particular the bolt and/or the lock latch, - for switching between its active position and inactive position, the first connecting follower can be coupled to and decoupled from the lock follower by means of a first coupling device, wherein, in active position, the first connecting follower is torque-proof connected to the lock follower and is thus able to be rotated in the lock case and, in its inactive position, is decoupled from the lock follower in the lock case to be freely rotatable, - for switching between its active and inactive position, the second connecting follower can be coupled to and decoupled from the lock follower by means of a second coupling device, wherein, in active position, the second connecting follower is torque-proof connected to the lock follower and is thus able to be rotated in the lock case and, in its inactive position, is decoupled from the lock follower in the lock case to be freely rotatable,