title: Unlock phone when home button is pressed
body: <p>I have the power key almost broken on my phone, so it's kind of a nightmare to lock/unlock the phone</p>
  
  <p>I know how to lock the phone programmaticaly with an icon for instance on the screen, but the question comes when I try to unlock it. I've thought that the best possible way to do it is that when I press the home button (which is a capacitive button) the phone wakes up, but I don't know how to do so</p>
  
  <p>So my question is, is that possible? and how it's done??</p>
  
  <p>Thanks in advance! </p>