Restraining inter-chain Distance, how

GROMACS version: 2022
GROMACS modification: No

How can I restrain two protein chains so that the minimum distance between the chains is at least X Å? (Alternatively, how can the center-of-mass of the protein chains be held X Å apart?) Can you please show me an example input? Thank you in advance for the help!
Best, Matthew