Lock for doors/windows/shutters comprising: - a box-like body intended to be mechanically associated with a movable wing of a door/window/shutter and provided with at least one front opening; - a latch bolt, which is slidably housed in said box-like body along a movement direction, is provided with a stop portion having at least one first magnet associated therewith and susceptible of crossing the front opening of said box-like body; - a shaped counter-plate intended to be mechanically associated with a fixed upright of said door/window/shutter, provided with a housing cavity delimited by at least one lateral wall starting from an access opening in order to receive, at its interior, the stop portion of said latch bolt, - at least one second magnet mechanically associated with said shaped counter-plate and susceptible of attracting said at least one first magnet; - movement means housed within said box-like body, mechanically associated with said latch bolt and drivable in order to move said latch bolt between a retracted position, in which it is substantially housed within said box-like body, and an extended position, in which it is at least partially placed to cross said front opening in order to insert said stop portion within the housing cavity of said shaped counter-plate; said lock being characterized in that the first magnet of said latch bolt is provided with two first magnetic poles aligned along a first magnetization axis parallel to said movement direction and the second magnet of said shaped counter-plate is placed at said lateral wall and is provided with two second magnetic poles aligned along a second magnetization axis substantially orthogonal to said movement direction. - a box-like body intended to be mechanically associated with a movable wing of a door/window/shutter and provided with at least one front opening; - a latch bolt, which is slidably housed in said box-like body along a movement direction, is provided with a stop portion having at least one first magnet associated therewith and susceptible of crossing the front opening of said box-like body; - a shaped counter-plate intended to be mechanically associated with a fixed upright of said door/window/shutter, provided with a housing cavity delimited by at least one lateral wall starting from an access opening in order to receive, at its interior, the stop portion of said latch bolt, - a shaped counter-plate intended to be mechanically associated with a fixed upright of said door/window/shutter, provided with a housing cavity delimited by at least one lateral wall starting from an access opening in order to receive, at its interior, the stop portion of said latch bolt, - at least one second magnet mechanically associated with said shaped counter-plate and susceptible of attracting said at least one first magnet; - movement means housed within said box-like body, mechanically associated with said latch bolt and drivable in order to move said latch bolt between a retracted position, in which it is substantially housed within said box-like body, and an extended position, in which it is at least partially placed to cross said front opening in order to insert said stop portion within the housing cavity of said shaped counter-plate;