Before I delete anything, when I turn the iPad on, I use the 4 numbered password, and that in turn opens up "Activation Lock" This iPad is lined to an Apple ID. Enter the Apple ID ad password (PW) that were used to set up this iPad. Thus I am not able to tell you what model or anything - but am hoping I may have done an earlier post with that information in.
Hi again
Judy - as to the iPad Mini's model, you can check on the back of the device and in small print there is information for identification - as to the iOS installed, you'll have to tell us.
Now, from the above, I'm still not sure what the issue may be, i.e. you imply that you know the 'real' 4-digit code but is then asked for your Apple ID and its PW - did you enter your 4-digit code incorrectly to the point of being 'shut out' of your device? If so, the issue now seems to be knowing your Apple ID & PW - please clarify so we can give more specific advice - as to the Apple ID issue, if that is the present problem, check this
OSXDaily Article for help - finally, have you been backing up your iPad to a computer (Mac or PC) and/or to the Cloud? Dave