Your post needs moving, so I've reported it.
I can confirm whether this bug is true or caused by a problem in my operation
I don't think it's a bug in the VMware product. Have you got other machines behaving like this or just one?
This problem occurred in VMware Workstation Pro 15.5.5. Now I have the same problem in VMware esxi 7.0. The caps lock key cannot be switched, and letters appear in case alternation.
What do you mean by VMware esxi 7.0. ?
Have you standalone ESXi server? OR are you still using VMware Workstation?
yes
I don't think it's a VMware bug, I have a variety of VMs running on ESXi 7.0 u3 and do not experience this behavior. Unless it's specific to your specific OS.