You can set up a fail close door strike lock (so that it is locked when there’s no power) as long as you have a manual open option to meet fire safety requirements.
Here’s one of the lock projects I mentioned with an electric strike. It won’t work exactly, but you could have a similar set up with an actuator.