Another way to say "a lobby is used for entering a building" is "You enter a building through a lobby."