I have all my setting set so that this doesn't happen (pictured) so I'm going to describe my system and issue, and hopefully someone knows what to do.
I have a laptop running Windows 10, closed and docked with dual monitors plugged into the dock. I have the Power Options/System Setting for closing the lid/sleep set to do nothing when the laptop is plugged in to a power source and to turn off the screen after 1 hour when plugged in.
Yet my computer goes to sleep after 2 minutes and 30 seconds of inactivity. The monitors go black and I'm forced to wake it up and log back in. Please tell me how I can fix this. The laptop doesn't have the issue when used undocked.
[attachment deleted by admin to conserve space]