Here is a goal: how do you lock your iphone screen?

How would you accomplish this goal?

OPTIONS: 1). press the lock button on the right side of the phone. 2). press the volume up button on the left side of the phone.
1).