Try starting the PC in Safe Mode and deleting it that way.
I've had a handful of cases like this, not involving AVAST, where it has said the same thing ie. it is being use by another program and that is the solution I've used which has worked.
Other times a simple shutdown and restart has resolved the problem too.