An optoelectronic module (100B, 100C, 100D) comprising: an optical element assembly including an optical element mounted within an optical element housing; an overmold assembly, the overmold assembly including: an optoelectronic component mounted to a substrate via electrical connections, an overmold encapsulating the optoelectronic component and electrical connections, and an overmold housing laterally circumscribing the overmold; the optical element assembly being mounted to the overmold assembly via a locking assembly (132, 134) such that lateral movement of the optical element assembly relative to the overmold assembly is substantially restrained, wherein the locking assembly includes: an optical element housing protrusion extending from the optical element housing, the optical element housing protrusion being in contact with a first side of the overmold; a locking edge incorporated into the overmold housing, the locking edge being disposed adjacent to the optical element housing protrusion and being configured to substantially restrain lateral movement of the optical element assembly relative to the overmold assembly; and an overmold trench disposed within the first side of the overmold, the optical element housing protrusion being in contact with the first side of the overmold via the overmold trench, the overmold trench being configured, together with the locking edge, to substantially restrain lateral movement of the optical element assembly relative to the overmold assembly. an optical element assembly including an optical element mounted within an optical element housing; an overmold assembly, the overmold assembly including: an optoelectronic component mounted to a substrate via electrical connections, an overmold encapsulating the optoelectronic component and electrical connections, and an overmold housing laterally circumscribing the overmold; the optical element assembly being mounted to the overmold assembly via a locking assembly (132, 134) such that lateral movement of the optical element assembly relative to the overmold assembly is substantially restrained, wherein the locking assembly includes: an optical element housing protrusion extending from the optical element housing, the optical element housing protrusion being in contact with a first side of the overmold; a locking edge incorporated into the overmold housing, the locking edge being disposed adjacent to the optical element housing protrusion and being configured to substantially restrain lateral movement of the optical element assembly relative to the overmold assembly; and an overmold trench disposed within the first side of the overmold, the optical element housing protrusion being in contact with the first side of the overmold via the overmold trench, the overmold trench being configured, together with the locking edge, to substantially restrain lateral movement of the optical element assembly relative to the overmold assembly. an optical element housing protrusion extending from the optical element housing, the optical element housing protrusion being in contact with a first side of the overmold; a locking edge incorporated into the overmold housing, the locking edge being disposed adjacent to the optical element housing protrusion and being configured to substantially restrain lateral movement of the optical element assembly relative to the overmold assembly; and an overmold trench disposed within the first side of the overmold, the optical element housing protrusion being in contact with the first side of the overmold via the overmold trench, the overmold trench being configured, together with the locking edge, to substantially restrain lateral movement of the optical element assembly relative to the overmold assembly.