Bug 1018364 - Orientation locked while resuming device

It may not be locked at this moment. At the end of this function, we call 'lockIfEnabled' to do that, which would perform locking if it's enabled.