A lock device for installation in an access member movable relative to a frame, the lock device comprising: - a bolt movable between a retracted position for disengagement from a strike plate in the frame, and an extended position for engagement with the strike plate; - a bolt force device arranged to force the bolt from the retracted position towards the extended position; - a blocking member movable between a blocking position where movement of the bolt from the retracted position towards the extended position is blocked by the blocking member, and an unblocking position where movement of the bolt from the retracted position towards the extended position is not blocked by the blocking member; - a lock device magnet movable between a passive position and an active position in response to a repulsive magnetic force acting on the lock device magnet; and - a release transmission arranged to mechanically transmit a movement of the lock device magnet from the passive position to the active position, to a movement of the blocking member from the blocking position to the unblocking position; wherein the release transmission comprises a knee joint having a knee joint pivot, and a first link member and a second link member interconnected via the knee joint pivot; wherein the lock device magnet is arranged to act on the knee joint such that movement of the lock device magnet from the passive position to the active position causes a movement of the knee joint pivot; wherein the lock device further comprises a blocking member pivot; and wherein the blocking member is rotatably connected to the blocking member pivot for rotation between the blocking position and the unblocking position. - a bolt movable between a retracted position for disengagement from a strike plate in the frame, and an extended position for engagement with the strike plate; - a bolt force device arranged to force the bolt from the retracted position towards the extended position; - a blocking member movable between a blocking position where movement of the bolt from the retracted position towards the extended position is blocked by the blocking member, and an unblocking position where movement of the bolt from the retracted position towards the extended position is not blocked by the blocking member; - a lock device magnet movable between a passive position and an active position in response to a repulsive magnetic force acting on the lock device magnet; and - a release transmission arranged to mechanically transmit a movement of the lock device magnet from the passive position to the active position, to a movement of the blocking member from the blocking position to the unblocking position; wherein the release transmission comprises a knee joint having a knee joint pivot, and a first link member and a second link member interconnected via the knee joint pivot; wherein the lock device magnet is arranged to act on the knee joint such that movement of the lock device magnet from the passive position to the active position causes a movement of the knee joint pivot; wherein the lock device further comprises a blocking member pivot; and wherein the blocking member is rotatably connected to the blocking member pivot for rotation between the blocking position and the unblocking position.