Steps to unlock Android phone lock:
  • Enable USB debugging
    Inorder to complete this process the device in which you need to unlock phone lock should be made enablle USB debugging. To enable this one go to settings – Development – USB debugging and Enable it.
    usb debugging
  • Connect the device to computer
    After you are done with the USB debugging make sure that you are connectedwith the computer. Go to the start and open CMD and type the adb shell exactly. Then press the enter button.
    rm /data/system/gesture.key
  • Reboot your andoid device

    rebooting android phone

  • After you are done with the entering the commands in the CMD restart the phone and reboot the device as mentioned in the above picture. Now you can give any pattern you wish for your android device.
Hope you will unlock your android smartphone using the above procedure. Incase if you encounter any problems while unlocking the android lock do feel free to mention that in the comments.
It's only fair to share..