I'm sorry about the issue. Is it the 4-digit passcode? Or the Apple ID account password? etc.?
Do you mean you cannot go to Settings or open any app on the iPad at all?
Besides the iPad, do you also have a windows or mac computer?
When you are available, please reply back at the box below to continue. Thank you,