Adding new framework to handle lock state gracefully for iOS 6.1.2