I have the same issue
I noticed that my phone (randomly!!) restarts at Midnight, 6h00 AM, 7h30 AM...
Just like a planned task
So I decided to try a little something
I created a Samsung Account
Open Galaxy Apps and let it updates everything
Setup Email software (even if I'm not using it)
So...