This randomized phase III trial studies how well nivolumab after surgery and chemotherapy work in treating patients with stage IB-IIIA non-small cell lung cancer. Monoclonal antibodies, such as nivolumab, may stimulate the immune system in different ways and kill tumor cells remaining after surgery and standard of care chemotherapy.