Compact wire-to-board connector with anti-detachment locking mechanism. The housing is smaller than XH, suitable for board-end connection scenarios with limited space.