Yes, because even if avast! cannot delete the file it will stop the process that is trying to access the file. Then the virus will not be executed. At least this is what I’ve been told and it seems right.

But I still think avast! should tell the user this more clearly, AND again - try even harder to free/unlock the file so that it can be deleted (is there functions in Windows to clear all file-locks?)