Hi HeiderSati,
The problem in this thread is about an early release of VMware Fusion 10.
There's no logic in Fusion 8.x where it tries to sync inconsistent capslock states.
If the behavior suddenly changed then look at what has changed on your host or VM.
Also note that VMware Fusion 8.x has been EOL for quite a while.
--
Wil