Unfortunately you are not able to recover your lost password. The only way to erase the password is to wipe your phone data. But once you wipe the data you will lose all your applications you installed on it. So, to reset your phone, first of all shutdown your phone. Then you need to press simultaneous Volume up + Power buttons. Keep them pressed until the phone screen turns red and then let them go. A boot menu will appear on your screen, from where you choose Wipe data/Factory reset. Wait until it is done and reboot your phone.