Lock code by time of day

This could be done with Rule Machine. You can use a Custom Action to create a lock code, or to remove one. So you could do some scheduling to create the code you want at the time you want, and remove it at some other time.

2 Likes