Incredibly, after years of putting up with the problem, I no longer have the problem. I tried every suggestion on this board to no avail.
About 2 years ago, I thought my charger had gone bad so I bought another on Amazon. By the time I received it, I found that a small piece of something had gotten into the Surface charging port. I used a toothpick to get it out. Then I tried the charger I thought had gone bad and it still worked. But, I still had the cursor freezing problem and the problem continued on until a five days ago.
At that time, I stepped on the charging cable piece that goes in the charging port and broke it. I still had the other charger I bought on Amazon two years ago - unopened in the box. So I threw the one away I'd broken and used the new one I'd had for two years but never used.
I've not had a single instance of a cursor freeze in five days - today is beginning of day six with no freezes. I've never never gone more than a half hour or so without a freeze. I'm hopeful.
Here's the Amazon link to that cable that isn't causing the freeze:
https://www.amazon.com/gp/product/B078YCJ87W/ref=ppx\_yo\_dt\_b\_search\_asin\_title?ie=UTF8&psc=1
*** I can't guarantee anything. I might get the freeze again today. I hope of course it's gone for good. If you buy it and it doesn't work for you, return it. But please don't blame me!
*** I am interested in, if you try this cable, whether it works for you.