Hi there and Welcome to the forums. Which Samsung are you using? I would try and start the phone in safe mode to see if this is being caused by a third party app.
The process for turning on Safe mode is as follows:
Press and hold the Power button.
Tap and hold Power off.
When the Reboot to safe modeprompt appears, tap again or tap OK.
Your device will then restart and it will say “Safe mode” in the bottom-left corner.
Please register for an account so we can help you further. With a guest account, you can't reply. Thanks
https://forums.androidcentral.com/showthread.php?t=409154