avast! Virus Cleaner doesn't support Bobax, so there is no use in trying it. It's perfectly normal that some of the files are locked and cannot be scanned during the runtime of the operating system.
Did you check the "Delete fles(s) at the next system start" checkbox when you instructed avast! to delete the file?