First solution is to use Google account associated with mobile.You need to log in into your Google account and then you can disable or change the pattern lock.Internet (mobile data) on your mobile should be working otherwise you need access to WiFi to do that.If your mobile is not connecting with internet then you have to go for second solution.
Too Many Pattern Attempts
If WiFi or mobile data is Off on your mobile then you can't authenticate online to unlock your device.You can enable WiFi as well as mobile data by connecting your mobile with Android Debug Bridge (ADB)
. This method requires USB Debugging feature enabled which is under 'Developer options' of your device.
Second solution to overcome "Too Many Pattern Attempts
" problem is to format the mobile device.You need to make hard reset of your mobile to overcome pattern lock problem.For most of the Android devices ,you can hard reset the device by pressing POWER + VOLUME + HOME button simultaneously.Please remember that all your data (images ,music files , videos and contacts saved in mobile ) will lost during hard reset and your phone will be restored to factory setting.
Let me know if you didn't find hard reset code/method for your mobile.I will find it for you.
Third solution is to use desktop app.You need to know username and password of Google account associated with your mobile device.Name of the app is Screen Lock Bypass Pro.
You can download it in Google store.Install this app on your device and you can bypass the pattern lock.