datetime-lock is a little configurable security tool for ubuntu who can deny the physical access to your system according to the configuration of the programm.