First, I’m an Avast user and not an Avast Team member.
There are many such post about the problem in renewing Avast Free which a fix was provided, but failed. Some have found a clean uninstall and reinstall of Avast Free works for some but not for all
What unlawful behaviour (its a bug) ?
You are free to uninstall Avast Free, no restrictions there.