The Security Guards are the secondary antagonists of the 2017 Disney/Pixar film Coco. They are Ernesto de la Cruz's enforcers.
When Miguel was sent to the Land of the Dead by accident, he conspired with Héctor (who is currently a lonely and forgotten jokester and is unaware of the true causes behind his death) to head over to Ernesto's mansion so that Miguel can receive Ernesto's blessing to go back to the Land of the Living with Héctor's photo.
However, one of the guards refuses to let Miguel pass through to the entrance, resulting an annoyed Miguel to convince the current winners of the band contest to sneak him in while Héctor disguises himself as the famed artist Frida Kahlo to get past the security with ease.
Just as Héctor and Miguel finally caught up to Ernesto as the latter is about to give Miguel his blessing, Héctor soon learns about the true causes of his death after watching one of Ernesto's films which bears several similarities of the argument he and Ernesto had before his death. Realizing that Ernesto murdered him to steal the songs and achieve the fame for himself, an angry Héctor attacks Ernesto, who calls in two of the security guards to stop him. Realizing now that sending Miguel back to the Land of the Living with Héctor's photo would raise questions about his legacy as a musician, Ernesto takes the photo and orders the guards to throw both Héctor and Miguel into a cenote pit where they can't escape.
Eventually, Héctor and Miguel were able to escape thanks to Héctor's wife Imelda and her spirit guide Pepita, who were guided by Dante to them. Miguel then explains the events to his deceased relatives, who agree to help Héctor and Miguel recover the stolen photo and expose Ernesto's true colors. During Ernesto's sunrise show at a stadium, Miguel and his deceased relatives sneak in (with the help of the real Frida Kahlo) to recover Héctor's photo. However, they run over to Ernesto by accident, where Imelda angrily berates Ernesto for murdering Héctor and causing her family's grief. Unperturbed by this, Ernesto calls his security guards to detain Miguel and his relatives, forcing Miguel's relatives to fight back while Imelda accidentally ends up on stage after recovering Héctor's photo from Ernesto. Spotting Imelda on stage, Ernesto angrily orders his guards to stop her and steal back the photo.
Eventually, Imelda starts singing "La Llorona" while evading the security guards, which surprises her dead relatives and woos the entire audience, much to Ernesto's anger. Deciding to handle things in person, Ernesto comes in stage singing and tries to take the photo while trying to make everything seem as part of the show, leaving the security guards to watch the scene dumbfounded.