Implement selective track locking, functionality for  reverting all changes