It already does stop it from running as soon as it alerts. A file to be scanned by the on-access scanners, first has to be run, modified, etc. Even for the hardened mode
Are you seeing something that avast alerts on yet allows you to run it ?
If so, provide details.