Hello , my Lenovo s850 is always keep turning off and on by itself automatically .
Do you notice the time of it restarting? I found some phones with the option "Scheduled power on & off" in settings, maybe you have that too and accidentally enabled. Also, if the phone is heating up, that may be causing your phone to restart.