My iPhone keeps on going to the lock screen and I have to type my passcode over and over again. Do you know how to fix this?

My iPhone keeps on going to the lock screen and I have to type my passcode over and over again. Do you know how to fix this?

The autolock is probably 30 seconds go to settings> display and brightness>autolock> whatever you prefer

Update to iOS 11.2

10 Dec 2017: Update to IOS 11.2 worked!

I can't update the game apodide won't let me thats my only app store and i'm stuck on night 2 help me please!