Added support for locking the IOS device for a number of seconds.

Removed unused code
Merge pull request #795 from mutualmobile/ios_lock

Added support for locking the IOS device for a number of seconds.