"Factory reset itself"
No computer or laptop can factory reset itself - the process can only be started by pressing certain keys during the boot process.
It's only a month old so it's covered by HP's warranty, so don't mess with it - - contact HP to get it fixed.
No good expecting Microsoft to provide free help, their position with laptops is that the manufacturer is responsible for providing support when it goes wrong.