Unable to access file /vmfs/volumes/<datastore>/<VM Name>/<VM Name>-flat.vmdk since it is locked
worldName: vpxa
After the OVF export is cancelled, the vmdk file is locked until the internal disk transfer between the vpxa service on ESXi and the content library service on vCenter is completed.
Restart the vpxa service on the ESXi host.
/etc/init.d/vpxa restart
If the OVF export via ESXi Host Client is cancelled, refer to Unable to power on VM with error: "The attempted operation cannot be performed in the current state (Powered off)".