It usually requires a specialized extraction tool for those particular pins. I used to repair equipment in a wafer fab, and I had various ones for different diameter Molex pins. Specialized crimpers and extractors for Winchester connectors, and the list goes on.
That'* not to say you can't get the pins out without the tool. The locking mechanism is often a small metal tang that protrudes from the pin to lock it in the housing. A small jeweler'* screwdriver is usually able to slip between the connector and shell to push down on the tang and release the connector. Just note that you often need to manually bend that tang back up a bit when re-inserting the connector so that it locks in place again.
The specialty tools are spring loaded and have an outer barrel that depresses the tang while the inner solid portion ejects the pin. They are sized for the connector you need to remove. It'* not a one tool fits all kind of thing.
Hope this helps.