SERVER-14668 modify lock snapshot to release locks upon snapshotting