Added test for device lock/unlock orientation