One of the most latest S series mobile S21 started badly hanging after upgrading it to one 12. It didn't hang when I had one 11 in it. Most of the time it's own camera causes hanging and it either does reboot or switching off when hanging. I approached Samsung support team. They gave me diagnose paper in my hand saying everything is perfect.
I made a mistake buying Samsung S21 and spent to makes me upset only. Never ever recommend for any Samsung product 😡.