A malfunctioning or unusable power button might be inconvenient, but luckily, Apple also allows you to power off your iPad ...
This article explains how to turn off the Do Not Disturb setting of the Focus feature on an iPad. We also cover methods for turning on this setting. Swipe down from the top right of your iPad display.