Add lock task check when applying window container transaction

Unbind locked task mode check with legacy split screen. Add checks to
prevent performing hierarchy operation or updating windowing mode
unexpectedly while task locked.

Bug: 177190100
Test: atest CtsWindowManagerDeviceTestCases:MultiWindowTests
Test: atest WindowOrganizerTests
Change-Id: I33a6509e21af36afbd4554936c4f5e4208e9a8a3
2 files changed