A connector comprising: a connector housing that accommodates a terminal to be connected in a fitting direction (X) to a mating terminal accommodated in a mating connector housing ; a front holder into which a part of the connector housing is inserted and that regulates movement of the terminal in a detachment direction (X2) of the fitting direction; and a locking structure (LS) that locks the front holder with respect to the connector housing , wherein the locking structure (LS) includes a locking protrusion provided on one of the connector housing and the front holder and formed to protrude in a first direction (Z) orthogonal to the fitting direction (X), at least one locking arm provided on the other of the connector housing and the front holder and formed to extend in the fitting direction, and at least one regulating surface provided to face the locking protrusion in a second direction (Y) orthogonal to the fitting direction and the first direction and regulating movement of the locking arm in the second direction when the locking arm faces the locking protrusion in the second direction, the locking arm is inserted between the locking protrusion and the regulating surface and in which one or more locking portions at least partly overlapping with the locking protrusion are formed when viewed from the fitting direction, characterized in that one of the locking arm and the locking protrusion is a deformable member that is elastically deformable in the first direction and the second direction with respect to the connector housing or the front holder provided with the one of the locking arm and the locking protrusion , and the deformable member is configured to elastically deform in the first direction when the locking portion and the locking protrusion face each other in the second direction so that the locking portion overrides the locking protrusion . a connector housing that accommodates a terminal to be connected in a fitting direction (X) to a mating terminal accommodated in a mating connector housing ; a front holder into which a part of the connector housing is inserted and that regulates movement of the terminal in a detachment direction (X2) of the fitting direction; and a locking structure (LS) that locks the front holder with respect to the connector housing , wherein the locking structure (LS) includes a locking protrusion provided on one of the connector housing and the front holder and formed to protrude in a first direction (Z) orthogonal to the fitting direction (X), at least one locking arm provided on the other of the connector housing and the front holder and formed to extend in the fitting direction, and at least one regulating surface provided to face the locking protrusion in a second direction (Y) orthogonal to the fitting direction and the first direction and regulating movement of the locking arm in the second direction when the locking arm faces the locking protrusion in the second direction, the locking arm is inserted between the locking protrusion and the regulating surface and in which one or more locking portions at least partly overlapping with the locking protrusion are formed when viewed from the fitting direction, characterized in that one of the locking arm and the locking protrusion is a deformable member that is elastically deformable in the first direction and the second direction with respect to the connector housing or the front holder provided with the one of the locking arm and the locking protrusion , and the deformable member is configured to elastically deform in the first direction when the locking portion and the locking protrusion face each other in the second direction so that the locking portion overrides the locking protrusion . <EOS>