SilencePC is a program that is made for you to turn off your computer after a specified time.
That ensures that you can go away or just sleep undisturbed.
The program is easy to use and will cost you only what installation time.
Afterwards, you can enjoy a time clock