A lock comprising: - a supporting base; - a movable element connected or connectable to a control handle which can be operated by a user; wherein said movable element is movable, preferably by sliding or translation, between a first position corresponding to an open condition of said handle and a second position corresponding to a closed condition of said handle; - an operating element mounted on the supporting base in a rotatable fashion about an axis of rotation and connected or connectable to means for releasing a closing panel, in particular a sash, a window or a door, said operating element being rotatable between a first position corresponding to an open condition of the panel and a second position corresponding to a closed condition of the panel; - a mechanical transmission acting between said movable element and said operating element and designed to connect kinematically between them said movable element and operating element in such a way that a movement of said movable element causes a rotation of said operating element about said axis of rotation; - uncoupling means acting on the mechanical transmission for disengaging kinematically, and in a controlled way, said movable element from said operating element so as to disable an actuation of said operating element by the movable element; wherein said mechanical transmission comprises a pin mounted on said supporting base in a rotatable fashion around said axis of rotation and a control element mounted on the pin in a rotatable fashion around said axis of rotation and connectable to said movable element, preferably in an eccentric fashion with respect to the axis, in such a way that a movement of the movable element causes a rotation of the control element about said axis, said pin being rotatably coupled with said control element and operating element for transmitting a mechanical torque about said axis of rotation; wherein the coupling between said pin and at least one of said control element and operating element is formed by means of a grooved connection along said axis of rotation; and wherein said uncoupling means act in such a way as to axially move the control element in such a way as to disengage the control element from the grooved connection and/or from the movable element. - a supporting base; - a movable element connected or connectable to a control handle which can be operated by a user; wherein said movable element is movable, preferably by sliding or translation, between a first position corresponding to an open condition of said handle and a second position corresponding to a closed condition of said handle; - an operating element mounted on the supporting base in a rotatable fashion about an axis of rotation and connected or connectable to means for releasing a closing panel, in particular a sash, a window or a door, said operating element being rotatable between a first position corresponding to an open condition of the panel and a second position corresponding to a closed condition of the panel; - a mechanical transmission acting between said movable element and said operating element and designed to connect kinematically between them said movable element and operating element in such a way that a movement of said movable element causes a rotation of said operating element about said axis of rotation; - uncoupling means acting on the mechanical transmission for disengaging kinematically, and in a controlled way, said movable element from said operating element so as to disable an actuation of said operating element by the movable element;