After Isaac Stanzler left the abandoned nightclub that he led Ted Grant into, the police then arrived. Lopez arrested Ted on multiple counts of homicide. Ted denied this, stating that he nothing to do with it, however, she revealed that they had found a body in his locker.
When captain Lance arrived at the police department, Lopez told him that someone had hacked into the emergency broadcast system, and they'd taken over all the networks. She then listened to Oliver's announcement (in the persona of Green Arrow) that he is the successor of the late Arrow, and aspired to be the symbol of hope that his predecessor never was.
It can be assumed that after Oliver used a device that Felicity made on his wrist to copy all of Diaz's files (that contain a list of every person under his payroll ), during his second confrontation with Diaz, and gave it to Samandra Watson; that Lopez was arrested along with all the people under Diaz's payroll by the FBI.