code: def __destroyLockedView(self):
          
          if self._lockedView:
              self._lockedView.close()
              self._lockedView.deleteLater()
              self._lockedView = None
docs: Destroys the locked view from this widget.