There are different ways to reset a locked Motorola phone. One way is to open the boot menu by pressing and holding the power button and the volume down button, selecting RECOVERY MODE, and then selecting Wipe data/factory reset. Another way is to enter any random password or pattern five times, tap "Forgot pattern?", and then fill in your Google Account or backup PIN. A third way is to press and hold the power key, home key, and volume up key, and then release all the buttons when the logo appears on the screen.
Here are the steps for resetting a locked Motorola phone using RECOVERY MODE:
1. Power off your phone.
2. Press and hold the power button and volume down button simultaneously until you see the boot menu.
3. Use the volume down button to scroll down to "RECOVERY MODE" and press the power button to select it.
4. When you see an Android robot with a red exclamation mark, press and hold the power button and volume up button simultaneously.
5. Use the volume down button to scroll down to "Wipe data/factory reset" and press the power button to select it.
6. Use the volume down button to scroll down to "Yes" and press the power button to select it.
7. Wait for your phone to reset itself.