I spilt coffee on my laptop keyboard recently. Some keys don't work and it doesn't stay in sleep. (I really must fix it sometime)
Maybe you have a stuck key or something?
Set to sleep mode and pull keyboard cable out immediately to check. (you'll have to reboot to get keyboard working again)
I am sure there are lots of other causes too.