Block a user
NLA is editable even when the animation data is linked
looks like the way to disable editing for linked NLA is in nla_select.c and nla_edit.c wherever you see:
/* get editor data */ if (ANIM_animdata_get_context(C, &ac) == 0) { return…