RolandP Hello,
Thank you for your answer. I may have formulated wrongly my question, but all iphones can be turned off when locked. Holding the side and volume buttons (or the side/top button, depending on the model) brings up the power-off slider, regardless of whether the phone is locked or not.
Valentina