Remove lock: file does not exist with Synology SFTP

I had the same issue. It seems to be a bug, related to recycle bin: