A previous employer's office had electronically locked doors (magnetic, I think?). The studio head said that they were designed to 'fail open' (i.e. unlocked) in the case of a power outage. Then the power went out a couple weeks later, and the doors were locked.
Oops.
Our emergency exits were old-fashioned analog doors and still worked, at least.