If I understand you correctly, you rebooted your PVE server? Where did you see that it was locked? A VM is locked, on create/backup/migrate/rollback/snapshot/delete snapshot. If the VM didn't respond to the ACPI call on a PVE shutdown, then it will be killed after 120sec.