to close ranks
The party closed ranks in the face of outside criticism.
—Did they support each other? —Yes, they closed ranks immediately.
The family closed ranks to protect their son.