If you are using the trackpad on this laptop try using a USB mouse instead, and disabling the trackpad.

Many find that, when typing on the keyboard, a causal brush against the trackpad will do unusual things.

Mark