Dear Samsung Member,
Greetings from Samsung Customer Support!
To resolve your device hanging issue please visit this link: https://www.samsung.com/in/support/mobile-devices/how-to-restart-the-device-when-freezed-or-hanged/
If the issue still persists, kindly send system log file using Samsung member application i.e. Samsung member BETA app > BETA feedback > Send feedback > Error report > Collect log files > attach.
Thank you for writing to Samsung.
Samsung Customer Support