Stop people from joining multiplayer session when host wants

Hey I’m working on a multiplayer game and I thought it would be good if when the host starts the game (with all the players already in the session) that no other people can join after. Basically the server is private only for the people in the server now so no one joins mid game. Anyone know how to set this up?

We’re u able to find out a solution ?