When installing a ceiling box that may be used for a fan, and you install a spare switch leg to that box. Such as 14/3 or 12/3 NM cable, the box shall be listed for support of a fan. This requirement only applies to single and multi-family dwellings. The code panel recognized that home owners and/or renters sometimes change out the light fixture and put a fan in its place. So this requirement will help when this activity is done in a single or multi-family dwelling unit.
(F) Locked Electrical Equipment Rooms or Enclosures.
Electrical equipment rooms or enclosures housing electrical
apparatus that are controlled by a lock(s) shall be considered
accessible to qualified persons.
The breaker that is mount in a generator enclosure will be considered in compliance with this section only when it has a lock that is controlled with a key, and not an Allen wrench. When the section was written it did not include an Allen wrench in the standard so it is not part of the code section.
So long as it is controlled by a key it will be incompliance with this section.