This method is called when the lock status of the editor<%> changes.
Updates the lock icon in the status line panel.