The phone needs to be activated - with a number - so as to transmit and receive. That said, you don’t have to connect to your provider, you can connect to a local WIFI or something, but your phone needs a “number”.
How can I get a number?
I bought this it was a tracphone many years ago to use as a podcast holder for my car.
There was probably a phone number that came with it.
Where?