If you forget your Password,Pin or Pattern, you can unlock with Hard Reset.
Hard Reset sets device to its original system which erarase all of your Data. Before Hard Reset back up data to Sd Card and than remove Sd Card.
Samsung Galaxy Phones Hard Reset
Step 1: Press and Hold Volume Up + Home Button + PowerStep
2: Select Wipe Data/Factory Reset go down Using Volume buttons and Press power to confirm
Step 3: Go Down and Select Yes Delete – All User Data and Press Power
Step 5: Than Press Power to confirm #Reebot System Now