A Louisiana police officer providing security at a high school basketball game in New Orleans was shot and killed following a mask-related dispute, authorities said, and a suspect was immediately taken into custody.