http://docs.python.org/3.3/library/sched.html

The native python Scheduler class might be the solution for this, with the added bonus of having an optional callback functionality for unlock timeout events.