I faced this issue on my first use of phone as it came... Anything I was doing on my phone was hanging and I am assuming oxygen os would be programed in a way that if phone hangs upto some seconds it goes for auto reboot...and so I am facing this issue as well phone getting auto rebooted on...