Old phone- not listed in Account- how to turn off siren to use- no SIM- SMS not

HI
I found an old phone which I was planning to give to a friend of my son. As soon as it powered up it started yelling “Stolen” wouldnt send sms? It is not on my Avast account. What can I do?

Enter your Avast-PIN to unlock your device.

I dont know what the PIN is

Solved - after many attempts at PIN- Got it

You’re welcome.