It doesn’t prompt for password protected files, it lists them at the conclusion of the scan. I’m sure that you would prefer not to be continually prompted during a scan, when there is nothing that you can do as you didn’t set the password.