Lock the window so it can't be moved or resized.
First available in version 3.1 build 65.
flag - A flag that controls whether the window should be locked at its current size and position or not. Valid values include: true and false.
No output parameters.
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.