When avast detect infected files it will give the file (s) a malware name

I understand that warnings are not detection cause sometimes I do get warnings in scans that say some files cant be scanned([b]they will fix themselves)[/b]
not something that will be fixed as nothing is wrong... avast just tell you it could not scan them and the reason why. usually password protected files...many programs protect there files with passwords, like security programs, adobe ...and more these files will be scanned on access by avast realtime protection when the program that use them access those files