You can use a door with a lock to keep people on one side of the door