These female connectors from the WAGO MCS-MINI family are codable and 100% protected against mismating.
These connectors use the multi connection system (MCS) which is designed without breaking capacity for compliance with DIN EN 61984. When used as intended, MCS Connectors shall not be connected/disconnected when live or under load.
The circuit design should ensure header pins, which can be touched, are not live when unmated.