If you are detained by the National Security Bureau for a week, you can ask a lawyer to intervene, but it is probably difficult to intervene because the National Security Bureau is handling a major case involving national security and will not let the lawyer meet the suspect for fear of leaking the secrets.
This is very different from ordinary criminal cases. Do not treat it as an ordinary criminal case.