Template demostration for lockOrientation issue by b1008486
Proposed fix for issue observed in template app