http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad-how-to-unlock-open-forgot-code-passcode-password-login.html
Hope that helps