I have just found a answer to my question "How can I hibernate/suspend from the command line and do so at a specific time and a relative time?".
The thing though is that on many occasions the resume is back with an unlocked screen!
It's not always, but most of the time. Why & how can I make sure it locks?
System settings > Brightness and Lock. – taneli Nov 27 '12 at 9:25