I've got some similar sockets for one of my projects (used as audio connectors).
This is without a plug:
And this is with a plug - the contact "arms" across the top are lifted away from the near side contacts, breaking the connection from side-to-side. The near side parts are nowhere near the plug, there is no connection anywhere from them, like this.
(The far connections then go from the far side, through the plug contacts - but you don't need to do anything with the plug wiring, to just use the switch action).
The type in the first thing I posted would be better if you can find them, as they have proper solder tags for wires, but I could not find those on Amazon. These with the small pins are really...