is_dynamic_key
} else if (!static_obj(lock->key) && !is_dynamic_key(lock->key)) {
if (!static_obj(key) && !is_dynamic_key(key)) {