If the files are "locked" it sounds like a SQL Server instance is actively using them. You may want to look into the process for taking a database backup to assist you in migrating your database to a new server.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning