iPhone Tweak: Ring/Silent switch as Orientation Lock Toggle – iOS 9
How to tweak your iPhone so that the Silent/Ring switch acts as the Orientation Lock Toggle
Wi-Fi & Technical musings
How to tweak your iPhone so that the Silent/Ring switch acts as the Orientation Lock Toggle