President Claudia Sheinbaum has sought to safeguard Mexican sovereignty while cooperating with the US on key issues.