There are many methods you can use to capture screenshots without the power button. You can use gestures, I mean use a three-finger screenshot. Also, you can use the help of a voice assistant.
All the methods I share above. So you can try as you wish.