A connector has a housing (10) with a cavity (11) and a resiliently deformable lock (13) for locking a female terminal fitting (30) in the cavity (11). The lock (13) has a base (25) and a projection (26) that projects into the cavity (11) from the base (25). Both side surfaces (25b) of the base (25) are formed by a mold that is moved forward to open, and notches (17a) are formed in the front surface of the female housing (10) by this mold. The notches (17a) extend more outward than inner side surfaces (11b) of the cavity (11) with respect to the widthwise direction. Both side surfaces (26c) of the projection (26) are formed by a mold moved backward to open. The projection (26) is narrower than the base (25).