action_to_state
set_state(my_id, match->name, match->sym, action_to_state(lock_unlock));
set_state(my_id, key, NULL, action_to_state(lock_unlock));