In a known connectors of this kind, one part of the housing has two U-shaped clamps, which can be swung with recesses provided in the legs onto pins of the other part of the housing and can be locked by means of expansions, formed in the rim surfaces of the recesses as detents, at these expansions. Apart from the fact the clamps can be operated only separately in succession, whereby it is possible to tilt the parts of the housing with respect to each other, the expansions acting as detents require a significant amount of energy to swing on or release the clamps, having a negative mechanical effect on pins and clamps. In addition, the detents provided at the clamps do not function reliably. In addition, this known connector is difficult to manipulate due to the independently uncontrollable swivelling of the clamps before or during the plugging operation of the parts of the housing.