I am having the same issues with my HP Laptop, except that mine locks and stays locked. But its not a total lockout. What happens is that keyboard and mouse clicks are not accepted. BUT if you hit alt-tab, you can switch between windows. And you can scroll your mouse around the screen, you just cannot click. If you do, nothing happens, and if you switch to another window you cnnot do anything when you get there. I have learned if I hit ctrl-alt-del and start the windows task manager, then close it, i get my keyboard and mouse back. I spent 3 hours on the phone with HP support yesterday and they couldn't fix it. So at their behest, I took my computer (less than a week old) back to the store and swapped it for another model. Guess what? same issue! The common threads are they are both HP and they are both running Win7 64-bit. Looking at the registry now, to see whats in there I don't need. Not a whole lotta hardware tweaks you can do for laptops. IF de-installing bloatware and cleaning the registry doesn't work i am going to purchase a copy of Win7 32 bit and see if that fixes my issues.
If anyone has any other suggestions, i am all ears, brothers and sisters....