If you want to write factually, you'd say, "When there is a power cut, the elevator stops working". In safety instructions, it might be written, "In the event of power failure, the elevator will automatically come to a stop".
I hope this helps.
Emma - Talk2Me English