Update locks for 0.5.0.