An app perhaps that can atleast lock the screen
I have an Iphone 5 and my power button has stopped working how can I fix it
Ask a QuestionMake a Genius Bar appointment to have your phone looked at.
Original thread: https://forums.imore.com/threads/i-have-an-iphone-5-and-my-power-button-has-stopped-working-how-can-i-fix-it.344759/