Lock or door status at certain time

You might want to take a look at this Smartapp