How to set up iphone / ipad / ipod to auto lock screen programmatically after some time delay?
"idleTimerDisabled" is the answer for the same, put it in time and make iphone lock or unlock as required. Yes I understand.....