At least one door should open via a mechanical key and mechanical handle from the outside, and I firmly believe the internal door handles should all function mechanically as well. There shouldn't be "usually you use a button but in an emergency this thing that looks like a bit of trim is the actual mechanical handle" that shouldn't be allowable by code.