Keep in mind the following
The secondary locking must always be adjusted to the initial position.
The secondary locking must be closed in reverse order to the way it was opened.
When the secondary locking is closed a "click" is often heard.
If it cannot be closed it might be because the cable terminal is not completely inserted in the cavity.
If the connector has a sheath, cover or rubber gasket for the housings, do not forget to reinstall it.