My phone auto locks after 30 seconds, but auto lock is greyed out- why can't I change it?

I

iMore Question

iPhone 5s. Went to settings- display. Can see the auto lock setting, but it is greyed out and won't be clicked on or changed