Solution:
This will only work if you know your pin/pattern to unlock. I unlocked my phone using this method.
Step 1: You need to get a USB OTG cable/connector if you do not already have one.
Connect the cable to your phone. If you have a pin lock go to step 2 if pattern lock go to...