Ipad Mini is locked!
It's possible that your school, or school district, has the device under control of an MDM which can set a lock code remotely. This action may have been accidental, or deliberate, but your only recourse is to ask the IT department to fix it for you.

This functionality, and many other options, is available in Meraki, and I have used it myself.