Lock management improved.