Temporarily lock orientation to prevent socket duplication, disable screen-off play due to crashes