Pinch to lock iPhone I've been having issues with my iPhone 5's lock button recently, I'm having to press it more forcefully to get it to work. Then I saw this video and got to a part where the person does a pinch gesture to lock his phone. 

Is this a feature to iPhone 5S only or can this be unlocked through some set up in accessibility?
It's a custom gesture set up on the jailbroken iPhone. Pinch to lock is not a feature available in Accessibility or any other method on a non-jailbroken phone.

The gesture can be set up using a tweak such as Activator. Go to Settings → Activator → On Lock Screen → Icon Pinch → Lock Device to set it up.