Handle the case where locking the screen orientation is not supported.