Hello,
My Name is Chander and I am Independent Advisor and a fellow Windows 10 user like you. I hope I can help you on your concern.
Please click on start button, seach for "Power & sleep settings ", open it.
then make sure Sleep settings are set to Never.
Let me know if you have any questions or concerns.