Have you tried going into Safe Mode and deleting the file?
Also try going into Safe Mode, Command Line and try manually deleting the file:
del [drive:][path] filename /f
for example, c:\downloads\mylockedfile.wri /f
If that doesn't work, go into recovery console and try deleting the file there.