May want to read the information on doing this from https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/48498/~/droid-x---screen-lock-%2...or check out the info posted below...
Unlocking the Security Lock when locked out:
Enter the correct pattern or passcode to unlock the handset after a security lock has been set.
If you forgot the pattern or your passcode is not working, the handset will allow you to log-in with the Gmail information you programmed into the handset during set-up.
You will need to try entering a pattern or passcode at least five times. If you fail to draw the correct unlock pattern or passcode on the screen after five attempts, the phone will prompt you to wait for 30 seconds before you can try again.
Press OK or wait for 30 seconds before attempting again.
After you press OK, the lock will come back again with a button on bottom right that states Forgot pattern.
Tap Forgot Pattern.
You will be prompted to sign in using your Google/Gmail account and then to create a new screen unlock. You can skip entering a new security lock.
If you forgot or are unsure about your Google password, but you know your Gmail login or Google account name, you can have Gmail send you a password change request link to your other email address through your computer. Click Here for our detailed FAQ on Gmail password reset. Summary of process is below.
Your phone can still be powered off when locked. Turning the phone back on will return to the lock screen.
If all of the above steps do not assist in unlocking your phone, you can perform a factory reset as a last resort. All the data you have previously entered on your handset (not SDcard) will be deleted and you will need to start new. Contact Motorola Customer Service or your carrier for help in resetting your device back to factory defaults.