Even if the phone doesn’t know who you are, the shop that sold you the phone or the SIM, or the credit card company you paid with, can know who you are. So you’d have to use cash. Even without these, your movements can be tracked through a burner phone and informed guesses made about who you are (e.g. if the phone has been at your home or with your friends).
Turning off your phone doesn’t necessarily protect you from tracking either:
Even if the phone doesn’t know who you are, the shop that sold you the phone or the SIM, or the credit card company you paid with, can know who you are. So you’d have to use cash. Even without these, your movements can be tracked through a burner phone and informed guesses made about who you are (e.g. if the phone has been at your home or with your friends).
Turning off your phone doesn’t necessarily protect you from tracking either:
https://www.androidauthority.com/android-15-powered-off-api-pixel-9-track-switched-off-3425472/
Easiest, as others say, just not to carry a phone.
In some places, you cant buy a burner with cash, but you could with a gift card that was registered with cash or a prepaid debit.
I would also recommend buying a faraday bag to keep it isolated.
Edit: keep that in the faraday bag untill you need it.