This study investigates the safety and preliminary effects of SAR445877, an investigational medication, in adults with advanced solid tumors that cannot be removed by surgery or have spread to other parts of the body. The study is divided into two parts. In Part 1, researchers will determine safe doses for …