According to the K-12 School Shooting Database, in the last 53 years, nearly 893 of all school shooters were minors. This means they accessed the gun from a parent or other source.
Source: Experts: Gun lock could have prevented Richneck Elementary School shooting