On iPhone: Settings → General → About → "Carrier Lock" should read "No SIM restrictions". On Android, settings vary by manufacturer. Phones bought outright or fully out of contract are usually unlocked. Carrier-locked phones cannot use any travel eSIM, including ETravelSim Japan.