A magnetic locking system for releasably fixing a movable object, such as a movable door or window, to a frame, the locking system comprising: - at least one stop element, mounted to the frame; - at least one blocker, mounted to the movable object, that is configured to be moved between: o a retracted state configured to allow the blocker to move unhindered past the stop element; and, o an extended state configured to fix the blocker on the stop element when the blocker is moved till at the stop element; - a locking mechanism that is mounted to the movable object and is connected to the blocker, and is configured to selectively: o in a first state, disconnect the blocker to move it to the extended state; o in a second state, bring and/or hold the blocker in the retracted state; and wherein the blocker comprises a magnet and the stop element comprises a magnetically attractable material, and/or vice versa; configured so that in the extended state the blocker is fixed to the stop element by attraction of the magnet toward the magnetically attractable material, CHARACTERIZED IN THAT the locking system further comprises a movement mechanism that is configured to bring about a movement of the movable object relative to the frame; wherein the movement mechanism comprises a holder, which has a passage with a first opening for mounting the blocker and a second opening for mounting a tensioning cable connected to the blocker; and wherein the holder is mounted between the movement mechanism and the movable object. - at least one stop element, mounted to the frame; - at least one blocker, mounted to the movable object, that is configured to be moved between: o a retracted state configured to allow the blocker to move unhindered past the stop element; and, o an extended state configured to fix the blocker on the stop element when the blocker is moved till at the stop element; o a retracted state configured to allow the blocker to move unhindered past the stop element; and, o an extended state configured to fix the blocker on the stop element when the blocker is moved till at the stop element; - a locking mechanism that is mounted to the movable object and is connected to the blocker, and is configured to selectively: o in a first state, disconnect the blocker to move it to the extended state; o in a second state, bring and/or hold the blocker in the retracted state; and o in a first state, disconnect the blocker to move it to the extended state; o in a second state, bring and/or hold the blocker in the retracted state; and wherein the blocker comprises a magnet and the stop element comprises a magnetically attractable material, and/or vice versa; configured so that in the extended state the blocker is fixed to the stop element by attraction of the magnet toward the magnetically attractable material, CHARACTERIZED IN THAT the locking system further comprises a movement mechanism that is configured to bring about a movement of the movable object relative to the frame; wherein the movement mechanism comprises a holder, which has a passage with a first opening for mounting the blocker and a second opening for mounting a tensioning cable connected to the blocker; and wherein the holder is mounted between the movement mechanism and the movable object.