Simple lock, assignment, unlock sandwich optimization.