This article describes how to reset a pattern lock.
INSTRUCTIONS & INFO
If you forget your pattern lock, you will need to reset your device to factory settings using the alternate master reset. Note: This option will erase all data such as your apps, photos, and music from your device. Please see 'Reset device' for instruction on how to perform factory reset.