You can use your ‘Find my iPhone’ option on another device. Select the iPad and choose ‘Erase iPhone.’ Your iPad will restore factory settings, allowing you access.