There's a way, follow the instructions below:
Goto run, type cmd, type shutdown -t nnn. Nnn represents seconds. All you have to do is convert the hours to seconds. For example, if you want to turn off your computer in 2 hours, then you go to Cmd and type shutdown -t 7200 because 2 hours...