Use this method for unlock your pattern lock code,if you see on screen “too many patterns attempts” or if you have software problems with your phone.
Warning!All data will be lost!
Power off your phone.
Press and hold together volume up + home key + power key until the phone will enter in recovery menu.
Select with volume keys “yes – delete user data” and press the back key to confirm.
Press the back key to confirm “reboot system now”
Wait until the phone restarts.
For more details you can watch full video here:https://www.youtube.com/watch?v=K-p7L79hWRo