TaskPane.isLocked property. Specifies whether the task pane is locked to the document in the UI and cannot be closed by the user....TaskPane.isLocked property. Specifies whether the task pane is locked to the document in the UI and cannot be closed by the user.