A plug connector that includes a contact support with at least one or more contact chambers for receiving a contact, at least one electrical contact, a lateral opening on each side in the contact support, connected in each case with one of the contact chambers, and a plurality of locking elements. Each of the locking elements can be introduced into one of the openings in a locking manner in such a way that a locking portion of each of the locking elements blocks the contact in the contact chamber, respectively, at a corresponding locking portion. Each of the locking elements has a coding member for engaging the contact support.