lock tweaks

Changed how locks are modified so all modifications occur through
NewDimData