How to unlock the previous phone that I forgot to remove from avast

Hello:
I changed my phone and I forgot to remove the old phone from my Avast account now, phone is blocked, I put the SIM card again and isn’t recognized.
what do I have t o do?
Thanks

Remove AMS/AT from the old phone.

How i do that?
Thanks,

https://www.avast.com/faq.php?article=AVKB166

I don’t have access to setting, the phone is locked asking me for avast password

http://www.avast.com/faq.php?article=AVKB127#artTitle (Restore forgotten PIN)

Phone doesn’t have internet signal :frowning:

Reset the phone to factory default.

I tried it,but Avast doesn’t let me do it!

I don’t have access to internet and phone doesn’t recognize the SIM card