A building access mechanism where only one person at a time may pass is called a Mantrap.
A mantrap is a kind of physical security system made up of a space between two sets of interlocking doors, where one door must shut before the other may be unlocked and opened. An individual is briefly trapped inside a small room by this extremely secure technology so that an additional security measure can be used to confirm their identification. Two interlocking doors and a tiny area make up a mantrap, an access control mechanism. Because one set of doors must close before the other can be opened, a person is briefly "stuck" in the vestibule before passing through the second door. They are also referred to as airlocks in these access control systems.
Learn more about mantraps here:
brainly.com/question/13258955
#SPJ4