ms sql : identifying lock issues