Please perform the following step to resolve the issue:
> Please ensure that auto restart option is turned off (Settings >Device Care or Maintenance>3 dots> Auto restart>>turn off it).
> Run the device in Safe mode and check the issue.
> If issue still persists, create data backup and reset the device.
For further assistance, register your concern in Samsung members app(click on “+“icon>send feedback>Error report/ Ask Questions)
Team Samsung Members