Patent ID: 8739371

Claim:
A locking device, comprising a first locking part, having a casing and a blocking piece arranged on the casing, the blocking piece comprising a first catch section, a second locking part, having a spring lock element which is formed spring-elastic at least in sections and comprises a second catch section, and a magnet device for causing a magnetic force between the blocking piece of the first locking part and the second locking part, and which acts between the blocking piece of the first locking part and the second locking part, wherein to close the locking device the first locking part is attached in a closing direction to the second locking part, whereby the first catch section of the blocking part is passed by the second catch section of the spring lock element by elastically pushing aside the second catch section of the spring lock element, in a closing position the first catch section of the blocking piece and the second catch section of the spring lock element engage with each other, so that the first locking part is locked counter to the closing direction against the second locking part, to release the locking device the spring lock element slides in an opening direction relative to the blocking piece to disengage the spring lock element and the blocking piece, and the blocking piece is arranged movably on the casing of the first locking part in such a way that in a retracted position it is enclosed at least partially in a housing chamber of the casing and in an extended position it projects from the casing in such a way that it is engageable with the spring lock element.