Does my phone need to be unlocked?

Yes. Your phone must be factory-unlocked and eSIM-capable. Carrier-locked devices may have eSIM disabled even if the global model supports it; check Settings → About → EID before purchase.