lock the old_pg_state