Add locking history via ASH script