Hi,
you are asked for your avast! PIN only once per session. Session is determined (maybe not only, but mainly) by screen turning off and on again. So if you turn on the screen, get past the lockscreen and insert your avast! PIN once, you won’t see any other prompts until you turn off the screen again.
So maybe you inserted your PIN already and then tried to uninstall the app.
Filip