add lock_raw