title: Is there a way to lock the screen with an Activity while under certain conditions?
body: <p>I'm working on an app that requires the screen to be locked with a particular activity when under certain conditions. Specifically, I have a service that runs in the background checking for GPS speed, and if the speed becomes greater than a defined amount, I need to open an activity that cannot be exited until the speed falls below the threshold amount. I'm relatively new to android development, this is a project for a class, we haven't discussed wake locks or power managers yet but i'm happy to learn if that's what I need to do.</p>
  
  <p>The code I have is pretty irrelevant for this question I think, since what I'm trying to do is separate from the code I already have but I can edit and supply it if need be. Thank you.</p>