The Concept Of Khalwat Between Opposite Gender
This is a preferred way to counter seclusion between opposite gender. This does not mean that if a person has no mehram available altogether or at that moment, then other counter measures cannot be used. At the the time of the Prophet (SWS), during public gatherings, men and women used to interact and the Prophet (SWS) never asked them to bring a mehram before such interactions.