In Spider-Man: Homecoming, we saw Peter's school running Captain America videos to motivate students.
How could the U.S. government allow this?
In Captain America: Civil War, Captain America turned out to be an outlaw and fugitive.
The Teacher actually makes the statement something like.
"Although he is a war criminal or something, but we have the videos here so better watch them."
Given the events of Civil war had only taken place a few months previously and the time it takes government to act. Plus the fact that Someone no doubt paid a lot of money for these videos I imagine it would be several years before they where phased out of the Curriculum.