A plug-in lock (1) for connecting flexible and/or rigid line elements (43, 44) with a plug-in part (11) and a receiving part (12), whereby a positive-locking connection (14) is provided for transmitting a tensile force for establishing a detachable connection of the plug-in part (11) to the receiving part (12). In order to prevent an unintentional detaching of the connection of the plug-in part (11) from the receiving part (12) even at high tensile forces and at the same time to make possible a simple operability and cost-effective manufacture, the plug-in lock has a securing device (13, 25) separate from the positive-locking connection (14) for preventing an unintentional detaching of the positive-locking connection (14). The securing device (13, 25) has an actuating mechanism (33) for detaching the securing device (13, 25).