Inclusion Criteria:
* B-cell non-Hodgkin lymphoid malignancies (NHL) according to World Health Organization (WHO) 2022 and no other approved therapies available that would be more appropriate in the investigator's judgment. -Histologic documentation of the following large B-cell lymphomas: -diffuse large B-cell lymphoma not otherwise specified (NOS), -T-cell/histiocyte-rich large B-cell lymphoma, -diffuse large B-cell lymphoma/high grade B-cell lymphoma with MYC and BCL2 rearrangements, -large B-cell lymphoma with IRF4 rearrangement, -high grade B-cell lymphoma with 11q aberrations, -Epstein-Barr virus (EBV)-positive diffuse large B-cell lymphoma, -diffuse large B-cell lymphoma associated with chronic inflammation, -primary large B-cell lymphoma of immune privileged sites, -primary cutaneous diffuse large B-cell lymphoma-leg type , -primary mediastinal large B-cell lymphoma, -high-grade B-cell lymphoma NOS, -transformations of indolent B-cell lymphoma (For US sites). -Other B-cell NHL may be enrolled based on emerging data in specific cohorts as stipulated by study evaluation team (SET)
* Have an Eastern Cooperative Oncology Group (ECOG) performance status of 0 to 1
* Participants must have measurable disease as defined by the disease criteria (Lugano criteria)
* While on study treatment and for 3 months after the last dose of study treatment, a participant must: not breastfeed or become pregnant; not donate gametes (that is, eggs or sperm) or freeze for future use for the purposes of assisted reproduction; and wear an external condom; -Participants of childbearing potential must have a negative highly sensitive (for example, beta [β]-human chorionic gonadotropin) pregnancy test at screening and within 24 hours before the first dose of study treatment and agree to further pregnancy tests, -For Arm E ONLY: Practice 2 methods of reliable birth control simultaneously, including 1 highly effective form of contraception and 1 additional effective contraceptive method., -Participants on Arms C-G should also follow the pregnancy and contraception restrictions in the respective local corresponding product label
Exclusion Criteria:
* Known active central nervous system involvement (CNS) or leptomeningeal involvement
* Prior solid-organ transplantation
* Malignancy diagnosis other than the disease under study within 1 year prior to the first dose of the study treatment; exceptions are squamous and basal cell carcinoma of the skin, carcinoma in situ of the cervix and any malignancy that is considered cured or has minimal risk of recurrence within 1 year of first dose of the study treatment in the opinion of both the investigator and sponsor's medical monitor
* Autoimmune or inflammatory disease requiring systemic steroids or other immunosuppressive agents (for example, methotrexate or tacrolimus) within 3 months prior to first dose of study treatment
* Toxicity from prior anticancer therapy that has not resolved to baseline levels or to Grade less than or equal to (<=) 1 (except alopecia, vitiligo, peripheral neuropathy, or Grade <=2 endocrinopathies that are stable on hormone replacement)