avast must report the ‘cause’ for not scanning.
If the files were ‘password’ protected that is not a thing to be worried.
Could you post your scan report for all files except the password protected and the good (ok) ones?