SMB3 mounted on linux / Debian - qemu-img Failed to get "resize" lock
Try downgrading / re-negotiating to SMB 2.xx dialect. There are some issues with 3.xx still.
https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3