Sorry. I missed your previous reply. Moving the cursor or pressing the power button are normal. Waking automatically is not - though many things can wake your computer, including your security programs scanning or looking for updates, or Windows Update updating or running a scheduled reboot.
But I am still not sure I understand your problem. Are you saying that it will suddenly go to sleep while you are actively typing, for example? Or while you are actively searching the Internet?