title: Lock Unlock events iphone
body: <p>How can I detect lock/unlock events on the iPhone? Assuming it's only possible for jailbroken devices, can you point me to the correct API?</p>
  
  <p>By <em>lock events</em>, I mean showing or hiding the Lock Screen (which might need a password to unlock, or not).</p>