To resolve the issue please follow the below mentioned steps:
>Reset the device settings by navigating to Settings >> General Management >> Reset >> Reset Settings.
>Main menu--> Camera--> Setting of camera --> Reset of camera settings.
>Check your device performance in Safe mode.
For further assistance, register your concern in Samsung members app(Open Samsung members app>click on “+“icon>send feedback>Error report/ Ask Questions).
Team Samsung Members