No av software can scan pw protected files. Think of it, how can a av util know the pw? So it is perfectly normal and you don’t have to worry about it.

If there is a harmfull file within a zipped (or other archived file), Avast will scan it when it gets unpacked.