Also see my other design which uses specific components which you can order over the web in UK, whereas this one uses generic parts.
It's a mains cable, with a mains timer plugged into it, and an transformer (such as is used for toys and rechargeable devices) plugged into that.
This goes inside a box (this is a metal cash box), which has a solenoid (the black thing in the pic) positioned (fixed here on some blocks of wood) so that it gets in the way of the locking mechanism. The solenoid is powered by the transformer plugged into the timer.
In the picture below, you can see the lock is half-way closed. The power is off to the solenoid, so the rubber band (crude but effective) is pushing the solenoid's plunger into the lock. When the key is turned so that the lock hook is pointing upwards (locking the box), the plunger will snap into place, preventing the lock hook from turning, and so locking the box.
Set the timer before locking the box - for instance, set it to power up in one hour. Once the box is locked, wait. In an hour, the power will energise the solenoid, pulling it out of the way of the lock, and you can open the box.
There are still some issues I need to sort out:
Mortice Deadlock <mortice@mortice.org>