What exactly does it mean "locked"? That it cannot be removed? Well, there are programs running there (the previous version, present before the update), so it's not surprising.
Or, you mean that you cannot even enter the avast! installation folder, e.g. in Windows Explorer, and read its files?