How to unlock Samsung Galaxy Ace,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 Galaxy Ace, your device may require you to enter your Gmail address and Gmail account password to unlock your Samsung Galaxy Ace (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 Galaxy Ace: 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 Galaxy Ace will need a software reset from an engineer to bypass the screen lock.