Assuming you're using windows, Go to Control Panel then System & Security then Power Options then on your left Change when computer/monitor sleeps. Adjust it to your preference.
Assuming you're using windows, Go to Control Panel then System & Security then Power Options then on your left Change when computer/monitor sleeps. Adjust it to your preference.