The sheriff of the Florida county where a shooter killed 17 people at a high school last week has ordered all deputies who qualify to begin carrying rifles on school grounds.

The rifles will be locked in a patrol car when not in use until the agency secures gun locks and lockers.

Broward County Sheriff Scott Israel said at a news conference Wednesday that the rifles will be locked in a patrol car when not in use until the agency secures gun locks and lockers.

The sheriff said the school district’s superintendent fully supports his decision.

Marjory Stoneman Douglas High’s school resource office was carrying a weapon when the shooting happened last week but did not discharge his firearm. It’s unclear what role he played in trying to thwart the shooter and whether he was aware of suspect Nikolas Cruz’s past behavior at the school. The sheriff said those details are still being investigated.

WATCH: President Trump hosts listening session with survivors from Florida, Sandy Hook, Columbine school shootings