IOS 16 Error - How to fix my IPhone won't turn on or frozen and nothing respond even charging

IOS 16 is very good, but it has some errors and bug. I want to share my experience here.
Yesterday, my iphone 12 pro was frozen. I am so scare because I do nothing that damage my phone.
I was showering and singing songs. And then I pick up my phone because I want to call my girlfriend.
But phone won't turn on. I thought battery is low, so it may be power off automatically because of no charging.
I charged but still nothing was responded. I waited for 5 minutes still no respond. I try to charge with another charger.
I clicked power button, and clicked power button + volume buttons. Yes, still no respond.
So I am so scare and I did not know what is going on. So I contact apple authorize service center and went to.
The technician explained me this is an IOS 16 error. Don't to worry too much. It will be fine soon.
He fixed it by doing force restart to iphone and he did resetting all setting.
So power was on, everything was okay on my iphone.
So today, I want to share how to do force/hard restart to your iphone and how to rest all setting.
This is a error/bug of IOS 16. So if you have a problem like me your iPhone won't turn on or is frozen. Don't worry and do the steps I shared.
So Let's start.
Step 1 - Force Restart Your Iphone - Hard Restart

2. Press and quickly release the volume down button.
3. Press and hold the side button.
When the Apple logo appears, release the side button. Note - press/click volume buttons and release immediately but do not release side/power button untill the logo appears. Now your iphone is power on but you need to reset all setting to fix the error.
Step 2 - Reset All Settings

2. Choose an option.
WARNING: This step will delete your all settings such wifi password, lock screen and password, dark mode, etc. But no data was lost so Don't worry.
You will see some options. Reset All Settings, Reset Network Settings, Reset Keyboard Dictionary, Reset Home Screen Layout, Reset Location & Privacy. If you want to know about these all resetting button, read here.
You have to click Reset All Settings button. Your iphone will be power off and resetting setting and it will restart automatically soon. Congraculation, now you fixed some errors or bug of IOS 16.
References
❖ Return iPhone settings to their defaults❖ If your iPhone won't turn on or is frozen