Both of my teenage children’s devices are affected by this issue. They both have an iPhone XR and an iPad Air (2022). Messages becomes unresponsive on all of their devices - either a frozen Messages screen or it’s just black. All devices are running 17.5.1. I do not know when they updated to 17.5.1 but this problem is relatively recent.
iPhone XRs also do not respond to physical button presses to shut down the device. The screens are frozen and kick into SOS or the “Swipe to Power Off” screen shows up like 5 or so minutes later after we’ve given up. Asking Siri to power off has worked in a pinch. Searching for “Shut down” in Settings also works but only if the Settings app is working properly.
The iPad Air (2022) physical buttons seem to work consistently but the software is similarly affected like the iPhones.
I’ve tried to disable Messages as suggested by the previous poster but the option in the Settings app becomes unresponsive and the entire Setting app needs to be force quit. I’ve let it sit hoping it would eventually respond but they never do. To make matters worse on the iPhone I am unable to get the phone to respond at all outside of screen shots and Siri. Fortunately, Siri let me restart the phone.
I have only been able to get into Settings > Messages to disable Messages twice on the one phone. I closed the Settings app and went back in to confirm it’s disabled and supposedly it is. However, when I rebooted the phone and went back in, it’s already re-enabled. I have not been able to disable Messages on any of the four devices, either due to it freezing or it not actually disabling when it said it did.
I had Screen Time setup on all of their devices but I’ve completely disabled it, to no avail.
Both of these devices do have eSIM (Mint Mobile). I also have an Apple Family setup for our Apple IDs and both Apple IDs are under 18. I don’t know if any of this is relevant but add it just in case it matters.