It might be that you have accidentally changed the settings or the modification might have been caused by recent installation of doubtful software, such us power saver, automatic system turn off or similar. Nevertheless, Windows 10 going into the sleep mode constantly is typically determined by the Power Settings. Therefore, we would recommend scanning your computer with a professional anti-malware, for instance, Reimage Mac Washing Machine X9 in the first place. In some rare cases, the problem may be caused by a virus/malware infection, which might have corrupted power settings. The problem is not confined to one particular Windows OS version, but since the majority of Windows home users now run Windows 10, it’s not surprising that the vast majority of unexpected switches to safe mode instances have been registered on Windows 10. The issues with Windows OS going into the sleep mode after a short period of time has been know for ages.
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.