A Raleigh middle school was locked down for about an hour Monday morning after shots were fired in the neighborhood.