I think I got this, sort of, at one point, however keyboard was working. The problems was that this happened after some past Windows 10 Feature Upgrade in the VM. I didn't have any quick workaround, but reinstalling VMware Tools helped. It was slightly difficult, at first, but it can be done with a keyboard, only. This wasn't a single case, but affected many Win10 VMs.
In your case, I would suggest reinstalling VMware Tools.
In my case, it was definitely a Windows problem in the VM itself. Windows Updates (mostly just Feature Upgrades, but not completely limited to that) destroys applications - they have done that since Day 1 of Win 10. VMware Tools is one application. If reinstall helps, that is the easy case. Annoying ? ... surely it is.