switch between lock and plain merge mode