Dear Samsung Member,
Greetings from Samsung Customer Support!
Please perform the below mentioned steps to resolve the issue:
Please visit this mentioned link to resolve your device hanging issue: https://www.samsung.com/in/support/mobile-devices/how-to-restart-the-device-when-freezed-or-hanged/
For further assistance, register your concern in Samsung Members Application (Open Samsung Members Application > Get help > Send Feedback > Error report/Ask questions).
Thank you for writing to Samsung.
Samsung Customer Support