Now, let's talk about storage. If your iPhone is low on storage, it can cause all sorts of problems, including freezing. So, take a closer look at your apps and see if there are any you can delete to free up some space. You can also try clearing your cache and cookies to give your iPhone a little Spring cleaning.
Another thing to check is your software. Are you running the latest version of iOS? If not, it's time to update! This will ensure you have all the latest features and security patches to keep your iPhone running smoothly.
Fix Any iPhone Frozen/Stuck/Loop Screen (How to Force Restart!) - YouTube