You turn off an iPhone XR by holding down the Side and Volume Down buttons and the moving a slider, but there's more to know.
Apple iPhone XR - Sounds - AT&T
iPhone XR Is Frozen, Not Turning Off. Force Restart It!
How to Turn Off an iPhone XR: A Step-by-Step Guide - Live2Tech
How to turn off iPhone without the power button - 9to5Mac
iPhone XR Is Frozen, Not Turning Off. Force Restart It!
2023 iPhone XR Won't Turn Off and Frozen, How to Do?
How to Turn Off Your iPhone
Guide for the Apple iPhone XR - Turn Wi-Fi Assist on or off
How to remove the Search button from your iPhone's Home Screen
How to Turn Off iPhone X : (3 Ways to Shut Off)
Restart your iPhone - Apple Support