No, installing an e-SIM will not lock your phone.

An e-SIM (embedded SIM) is a digital SIM that is embedded in your phone’s hardware and can be activated through the phone’s settings. It does not have any physical component that needs to be installed or removed from your phone, unlike a physical SIM card.

When you install an e-SIM, it will not affect the lock status of your phone. The lock status of your phone is determined by your carrier and depends on whether or not your phone is locked to a specific carrier. Installing an e-SIM does not change this status.