In MI: Fallout, Lark is setup by the IMF team when one of them replaces Lane in his cell. He reveals his plan and is arrested.
Eventually, IMF is surrounded by CIA agents, but it turns out that Lark had agents there, and he kills an IMF member and escapes.
How did Lark have agents there when he didn't know he was being setup?