Gates or other apparatus controlling access to, or exit from, cars, cages, or hoistway landings