A lock suited for left- and right-hinged closure members having an upright member, said lock comprising: - a frame arranged to be mounted against a first side of said upright member; - a latch bolt which has a longitudinal axis and which is mounted on said frame so as to be slidable according to a reciprocating sliding movement along said longitudinal axis between an extended and a retracted position and so as to be rotatable according to a rotational movement around said longitudinal axis between a first rotational position, wherein the lock is adapted for left-hinged closure members, and a second rotational position wherein the lock is adapted for right-hinged closure members, said latch bolt being further arranged to extend through said upright member and to protrude out of this upright member on a second side thereof, opposite the first side, when the lock is mounted with its frame onto the first side of said upright member; - a retaining mechanism (29, 30) provided on said latch bolt, which retaining mechanism comprises a first and a second retaining element, the second retaining element being arranged to cooperate with said first retaining element for retaining the latch bolt in either one of said first and second rotational positions; - at least one latch bolt spring arranged between said frame and said retaining mechanism (29, 30) to exert a force on the latch bolt to urge the latch bolt towards its extended position; and - an actuation mechanism arranged to move said latch bolt from said extended to said retracted position against the force of the latch bolt spring, characterised in that said first retaining element is provided on the latch bolt to follow said reciprocating sliding movement and said rotational movement of the latch bolt; and said second retaining element is guided by said frame so as to be irrotatable but slidable along said longitudinal axis with respect to said frame and is urged by means of said latch bolt spring against the first retaining element to follow said reciprocating sliding movement of the latch bolt; the first retaining element forms a cam whilst the second retaining element forms a cam follower which co-operates with said cam, said cam and said cam follower being arranged to penetrate into one another in said first and said second rotational positions of the latch bolt to retain the latch bolt in these rotational positions and to urge the second retaining element against the force of the latch bolt spring away from the first retaining element thereby forcing said cam and said cam follower to move out of penetration with one another when rotating the latch bolt from its first rotational position to its second rotational position and vice versa. - a frame arranged to be mounted against a first side of said upright member; - a latch bolt which has a longitudinal axis and which is mounted on said frame so as to be slidable according to a reciprocating sliding movement along said longitudinal axis between an extended and a retracted position and so as to be rotatable according to a rotational movement around said longitudinal axis between a first rotational position, wherein the lock is adapted for left-hinged closure members, and a second rotational position wherein the lock is adapted for right-hinged closure members, said latch bolt being further arranged to extend through said upright member and to protrude out of this upright member on a second side thereof, opposite the first side, when the lock is mounted with its frame onto the first side of said upright member; - a retaining mechanism (29, 30) provided on said latch bolt, which retaining mechanism comprises a first and a second retaining element, the second retaining element being arranged to cooperate with said first retaining element for retaining the latch bolt in either one of said first and second rotational positions; - at least one latch bolt spring arranged between said frame and said retaining mechanism (29, 30) to exert a force on the latch bolt to urge the latch bolt towards its extended position; and - an actuation mechanism arranged to move said latch bolt from said extended to said retracted position against the force of the latch bolt spring, characterised in that said first retaining element is provided on the latch bolt to follow said reciprocating sliding movement and said rotational movement of the latch bolt; and said second retaining element is guided by said frame so as to be irrotatable but slidable along said longitudinal axis with respect to said frame and is urged by means of said latch bolt spring against the first retaining element to follow said reciprocating sliding movement of the latch bolt; the first retaining element forms a cam whilst the second retaining element forms a cam follower which co-operates with said cam, said cam and said cam follower being arranged to penetrate into one another in said first and said second rotational positions of the latch bolt to retain the latch bolt in these rotational positions and to urge the second retaining element against the force of the latch bolt spring away from the first retaining element thereby forcing said cam and said cam follower to move out of penetration with one another when rotating the latch bolt from its first rotational position to its second rotational position and vice versa.