Since VMDK is locked , Check which process is using it ,
Check for the host on which the VM resides and Login to the ESXi host with the root credential ,if you can see the recent task bar ,
if any process is locked by Vpx user, In this condition you wil get such errors, if this is the case you can try restarting the management agents of the Host