Use active voice instead of passive (i.e., if the user agent does not support screen orientation). The way the sentence is currently written is kinda wrong "the locking" is grammatically incorrect.