Check Lock State This is a sample application to show to check the iOS devices lock stat programmatically.