In most elevators, at least in any built or installed since the early nineties, the door-close button doesn’t work. It is there mainly to make you think it works. … The escape hatch is always locked. By law, it’s bolted shut, from the outside. It’s there so that emergency personnel can get in, not so passengers can get out.
That is from a New Yorker article on elevators.