Turning off an iPad looks different for models with and without a home button. Your iPad is going to have a home button if it’s an iPad Pro from 2017 or earlier or an iPad Air, iPad Mini, or a standard iPad from 2019 or earlier. If you’re unsure about which button is which, this Apple Support guide can help.
Source