method 1
Hold down the Power button, then press the Home button. That's it!
method 2.
Hold down the Power button and then press the button Volume down . That's it!
Some phones work with the first method, but the second and others with none.
Not dependent on the operating system but by the manufacturer.