You currently have file <File> checked out. Delete anyway?

This warning has the following solution:

When you have a file checked out, there are some things you shouldn't do.  For instance, you should not delete or rename a file that is checked out.