Usually by ensuring that neither romantic partner is in the other's chain of command.
The chain of command for each partner does not include the other partner.
You didn't save a penny, and now you can't get into anything.