utils: implement fw3_lock_path() & fw3_unlock_path()