How to unlock Samsung GT-S5830,when I forget my PIN,password or screen pattern lock
After five attempts to enter the PIN, password or pattern lock you set on your Samsung GT-S5830, your device may require you to enter your Gmail address and Gmail account password to unlock your Samsung GT-S5830 (if you have previously associated your device with a Gmail account).
If you have multiple Gmail accounts you must use the email address and password for the account linked to your Samsung GT-S5830: the details for any of your other Gmail accounts will not work.
If you have forgotten your Gmail address or Gmail account password please visit Gmail.com to go about getting a reminder of your Gmail address and a new password to use.
If you are unable to regain access to your Google account, or your device, then the Samsung GT-S5830 will need a software reset from an engineer to bypass the screen lock.