It happens at random times. Sometimes it doesn't happen in a week or more, and sometimes multiple times in a day.
My laptop is HP Omen 17-an116nm.
When it happens, most of the time I'll be able to move the cursor, but it'd lag a lot. After 2-3 seconds usually, I'd be able to move it normally...