I use an iPad as my cash register for my business, I am looking for a way to change the Auto-Lock timer while the shop is open to keep the screen from sleeping, then when I close change it to allow it to sleep again.