Programatically press the Power button to lock the screen
<p>On Android, I see that to make action like as press Back button, we use:</p>

<pre><code>super.onBackPressed();
</code></pre>

<p>I want make action like as press Power button, but I can not find the
method to do that.
I searched on Google and this site but do not received a useful result.</p>

<p>How can I display the lock screen with Keyguard when I press the button on my activity?</p>
