I have a problem with keyboard in Windows 10 Virtual Machine working in VMware Fusion 10.1.1 t macOS High Sierra.
Windows 10 VM is converted from PC laptop.
In device manager state for PS/2 Keybord there is an nformation about not complete or damaged registry information for this device.
This method helped: How To Fix Standard PS/2 Keyboard (Code 19) Window 7 - YouTube