Closure device, comprising a first closure part which comprises a housing part, a spring locking element arranged on the housing part in an elastically resilient manner and having at least one first latching portion and one first magnet element, and a second closure part which comprises a first blocking element having at least one second latching portion and one second magnet element, wherein the first closure part and the second closure part can be placed against one another in a closing direction under a magnetically attractive effect of the first magnet element and of the second magnet element, and in a closing direction the at least one first latching portion and the at least one second latching portion are engaged with one another in a form-fitting manner, such that the first closure part and the second closure part are held against each other counter to the closing direction, wherein two assemblies of the closure device are movable relative to one another by introduction of an actuation force, in order to overcome the form-fitting engagement of the first latching portion and the second latching portion for opening the closure device, and comprising an inhibiting element which is configured to inhibit a movement of the assemblies relative to one another, wherein in the case of an actuation force between the assemblies which is greater than an inhibiting force the assemblies are movable relative to one another, characterised in that the inhibiting element comprises an elastically deformable spring portion and an inhibiting head for interaction with one of the assemblies, wherein the inhibition head comprises a run-up slope onto which a portion of the one of the assemblies abuts upon movement of the assemblies relative to one another, wherein the at least one second latching portion comprises a run-up slope for interaction with the inhibiting element. a first closure part which comprises a housing part, a spring locking element arranged on the housing part in an elastically resilient manner and having at least one first latching portion and one first magnet element, and a second closure part which comprises a first blocking element having at least one second latching portion and one second magnet element, wherein the first closure part and the second closure part can be placed against one another in a closing direction under a magnetically attractive effect of the first magnet element and of the second magnet element, and in a closing direction the at least one first latching portion and the at least one second latching portion are engaged with one another in a form-fitting manner, such that the first closure part and the second closure part are held against each other counter to the closing direction, wherein two assemblies of the closure device are movable relative to one another by introduction of an actuation force, in order to overcome the form-fitting engagement of the first latching portion and the second latching portion for opening the closure device, and comprising an inhibiting element which is configured to inhibit a movement of the assemblies relative to one another, wherein in the case of an actuation force between the assemblies which is greater than an inhibiting force the assemblies are movable relative to one another, characterised in that the inhibiting element comprises an elastically deformable spring portion and an inhibiting head for interaction with one of the assemblies, wherein the inhibition head comprises a run-up slope onto which a portion of the one of the assemblies abuts upon movement of the assemblies relative to one another, wherein the at least one second latching portion comprises a run-up slope for interaction with the inhibiting element.