Check your account or use the on-device unlock settings.
You provide your phone's IMEI number and pay a fee. They email you an unlock code.
Highly effective, but you must choose a reputable vendor to avoid scams. ⚠️ Warning About "Free Download" Unlock Software
Complete Guide to Motorola Network Unlock Tools Locking a Motorola phone to a single carrier limits your freedom. A network unlock removes these restrictions.
Many modern Motorola phones do not use unlock codes. Instead, they use pre-installed carrier apps.