org-agenda-restriction-lock-highlight-subtree

org-agenda-restriction-lock-highlight-subtree is a variable defined in `org-agenda.el'.
Its value is
t


Documentation:
Non-nil means highlight the whole subtree when restriction is active.
Otherwise only highlight the headline. Highlighting the whole subtree is
useful to ensure no edits happen beyond the restricted region.

You can customize this variable.