By locking it, you can prevent more people from joining your room. Now only the contents of a room can access the room. When a room is locked, people trying to join a room via the link will see the message 'Currently unable to attend.'