title: Creating an app that run everytime I turn the screen on
body: <p>I'm using android studio and I was wondering if there's a way to make an app that run every time I turn on the screen (e.g. screen lock). I know this has been asked before, but I can't understand where to put the code for this.. 
  please help</p>