bdeLockDiagramHistory
Takes diagram and locks the version of the history of the diagram so it can not be changed.
Syntax
locked = bdeLockDiagramHistory(diagram)
Inputs
- diagram
 - Diagram used to get locked history.
 
Outputs
- locked
 - The locked history of the diagram.
 
Examples
        Lock the history of the diagram:
        
    diagram = bdeGetCurrentDiagram();
        locked = bdeLockDiagramHistory(diagram)
        locked = hwHistoryLocker