code: function( restore )
  		{
  			var doc = this.document,
  				lockedSelection = doc.getCustomData( 'cke_locked_selection' );
  
  			if ( lockedSelection )
  			{
  				doc.setCustomData( 'cke_locked_selection', null );
  
  				if ( restore )
  				{
  					var selectedElement = lockedSelection.getSelectedElement(),
  						ranges = !selectedElement && lockedSelection.getRanges();
  
  					this.isLocked = 0;
  					this.reset();
  
  					doc.getBody().focus();
  
  					if ( selectedElement )
  						this.selectElement( selectedElement );
  					else
  						this.selectRanges( ranges );
  				}
  			}
  
  			if  ( !lockedSelection || !restore )
  			{
  				this.isLocked = 0;
  				this.reset();
  			}
  		}
docs: Unlocks the selection made in the editor and locked with the <code>#lock</code> method.
  An unlocked selection is no longer cached and can be changed.
  @param {Boolean} [restore] If set to <code>true</code>, the selection is restored back to the selection saved earlier by using the <code>#lock</code> method.
  @example
  editor.getSelection().<strong>unlock()</strong>;