If your iPhone is not connected to the network or has not been upgraded to iOS 15.2 or above, the Erase iPhone option cannot be used. It is also possible that your iPhone has a bug and does not have the Erase iPhone option. You can unlock your iPhone with iTunes or iCloud.