Unless you script the server to stop the DB (SQL Server) process, then start the process after you complete the backup, you will never get the 'lock' to release on those files.
windows scripting is not for everyone, but that is at the core of what needs to happen.