Automate Transfers: Add lock file to prevent concurrent runs