I had something similar when my drive started to fail.
At first, it was annoying, because the cursor froze all the time, just like yours, then programs started to do the same, then they started to crash without reason, and in the end, even my unbreakable OS (Fedora Atomic) broke randomy and incoherently.
What did I learn? Don't cheap out on drives, and keep enough backups.