Gets locked as soon as it starts
When I turn my iPad mini retina on, it starts up and gets locked immediately. I have to unlock it to use it. There is no passcode set to unlock and auto lock is set to never. What should I do so that it doesn't get locked as soon as it starts because it is very irritating.
iOS 7.0.4