Trying to fix how locks work.