An electrical connector assembly includes a receptacle connector and a plug connector mateable with each other at least in the front-to-back direction. The receptacle connector includes an insulative receptacle housing with a plurality of receptacle contacts therein, and a pair of deflectable metal latches. The plug connector includes an insulative plug housing with a plurality of plug contacts therein, and a pair of immovable metal locking pieces having corresponding locking protrusions to be engaged with the corresponding locking heads of the latches during mating.