TASK ERROR: can't lock file '/var/lock/qemu-server/lock-xxx.conf' - got timeout

this means that some other task is already operating on that VM and holding the lock.. check the task list
 
please check which other tasks are running for that VM..
 
  • Like
Reactions: sunny20747
that sounds like something is very wrong with the VM's virtual disk (which causes it to fail to shut down).