In patients with lung cancer, we demonstrate that KRAS mutations increase tumor immunogenicity; however, KRAS/STK11 co-mutated patients display an immune-excluded phenotype. This evidence concerns the gene STK11 and lung cancer.