radiation medication (radium-223 dichloride) versus radium-223 dichloride plus radiation enhancing medication (m3814) versus radium-223 dichloride plus m3814 plus avelumab (a type of immunotherapy) for advanced prostate cancer not responsive to hormonal therapy

Conditions: Metastatic Castration-Resistant Prostate Carcinoma; Metastatic Malignant Neoplasm in the Bone; Metastatic Malignant Neoplasm in the Lymph Nodes; Stage IVB Prostate Cancer AJCC v8

Summary: this phase i/ii trial studies the best dose of m3814 when given together with radium-223 dichloride or with radium-223 dichloride and avelumab and to see how well they work in treating patients with castrate-resistant prostate cancer that had spread to other places in the body (metastatic). m3814 may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. radioactive drugs, such as radium-223 dichloride, may carry radiation directly to tumor cells and not harm normal cells. immunotherapy with monoclonal antibodies, such as avelumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. this study is being done to find out the better treatment between radium-223 dichloride alone, radium-223 dichloride in combination with m3814, or radium-223 dichloride in combination with both m3814 and avelumab, to lower the chance of prostate cancer growing or spreading in the bone, and if this approach is better or worse than the usual approach for advanced prostate cancer not responsive to hormonal therapy.

primary objectives: i. to determine the maximum tolerated dose (mtd) of peposertib (m3814) in combination with radium-223 dichloride or in combination with radium-223 dichloride and avelumab in patients with advanced metastatic castrate-resistant prostate cancer (mcrpc) based on dose limiting toxicities (dlts) in the doublet or triplet combinations. (phase 1) ii. radiographic progression free survival (rpfs) will be evaluated based on both skeletal and extraskeletal progression following prostate cancer working group 3 (pcwg3) methodology. (phase 2) secondary objectives: i. to determine the time to the first symptomatic skeletal event \[sse\]. ii. to determine the safety of radium-223 dichloride, m3814, and avelumab combination treatment. iii. to observe and record anti-tumor activity. iv. to evaluate progression free survival (pfs) and overall survival (os). v. to evaluate symptomatic skeletal events (sse) per standardized case report form (crf) distinguishing between pathologic and non-pathogenic fractures. vi. to explore patient-reported symptomatic adverse events (ae) for tolerability of each treatment arm. vii. to examine the radium-223 dichloride bio-distribution and absorbed dose in each bone metastatic lesions as well as elsewhere in the body including critical organs using dosimetry. exploratory objectives: i. to perform molecular profiling assays on malignant and normal tissues, including, but not limited to, whole exome sequencing (wes), and messenger ribonucleic acid (rna) sequencing (rnaseq), in order to: ia. identify potential predictive and prognostic biomarkers beyond any genomic alteration by which treatment may be assigned, and ib. identify resistance mechanisms using genomic deoxyribonucleic acid (dna)- and rna-based assessment platforms. ii. to contribute genetic analysis data from de-identified biospecimens to genomic data commons (gdc), a well annotated cancer molecular and clinical data repository, for current and future research; specimens will be annotated with key clinical data, including presentation, diagnosis, staging, summary treatment, and if possible, outcome. iii. to bank plasma and peripheral immune cells from patients to assess predictive biomarkers of response at the experimental therapeutics clinical trials network (etctn) biorepository at nationwide children's hospital. iv. to correlate change in level of total alkaline phosphatase, bone-specific alkaline phosphatase, and serum osteocalcin to rpfs and os. outline: this is a phase i, dose-escalation study of peposertib, followed by a phase ii study. patients are randomized to 1 of 3 arms. arm a: patients receive radium-223 dichloride intravenously (iv) over 1 minute on day 1. treatment repeats every 28 days for up to 6 cycles in the absence of disease progression or unacceptable toxicity. patients undergo blood sample collection, bone scan, and computed tomography (ct) or magnetic resonance imaging (mri) throughout the study. arm b: patients receive radium-223 dichloride as in arm a and peposertib orally (po) once daily (qd) or twice daily (bid) on days 3-26. treatment repeats every 28 days for up to 6 cycles in the absence of disease progression or unacceptable toxicity. patients undergo blood sample collection, bone scan, and ct or mri throughout the study. arm c: patients receive radium-223 dichloride iv as in arm a and peposertib po qd or bid as in arm b. patients also receive avelumab iv over 60 minutes on days 1 and 15 of cycles 2-6. treatment repeats every 28 days for up to 6 cycles in the absence of disease progression or unacceptable toxicity. patients undergo blood sample collection, bone scan, and ct or mri throughout the study. after completion of study treatment, patients are followed up at 30 days and then every 3 months for up to 2 years.

Eligibility criteria:
inclusion criteria: * phase 1: eastern cooperative oncology group (ecog) performance status =\ = 70%) * phase 2: ecog performance status =\ = 60%) * unless a patient has had orchiectomy by surgery, the patient is expected to be on antiandrogen therapy (adt) for "medical castration". adt needs to be maintained throughout the study. testosterone level should be checked, and kept consistently lower than 50 ng/dl, similar to that obtained with bilateral orchiectomy * progressive castration-resistant prostate cancer with two or more skeletal metastases identified by 99mtc bone scintigraphy. one or more lymph node metastases allowed, but not mandatory. lymph node metastases in each individually must measure less than 3 cm in the longest dimension. visible visceral organ metastases are not allowed. a diagnosis of prostate cancer must have been histologically confirmed at any time point * baseline prostatic specific antigen (psa) level of 1 ng/ml or higher with evidence of progressively increasing psa values (two consecutive increases over the previous reference value) * progression after at least one of the following: abiraterone, enzalutamide, apalutamide, darolutamide, or taxane chemotherapy (docetaxel, cabazitaxel). there is no maximum number of prior therapies. prior immunotherapies (for example, sipuleucel-t or pembrolizumab) do not exclude the patient from participation * age \>= 18 years. castrate-resistant prostate cancer (crpc) affects older adults and is rarely encountered in children and adolescents * life expectancy \>= 6 months * albumin \> 2.5 mg/dl * hemoglobin \> 9 g/dl * leukocytes \>= 3,000/mcl * absolute neutrophil count \>= 1,500/mcl * platelets \>= 100,000/mcl * total bilirubin =\< 1.5 x institutional upper limit of normal (uln) (with the exception of \< 3 mg/dl for patients with gilbert's disease) * aspartate aminotransferase (ast)(serum glutamic-oxaloacetic transaminase \[sgot\])/alanine aminotransferase (alt)(serum glutamate pyruvate transaminase \[sgpt\]) =\< 3 x institutional uln * creatinine =\< 1.5 x institutional uln or * glomerular filtration rate (gfr) \>= 40 ml/min/1.73 m\^2 * human immunodeficiency virus (hiv)-infected patients on effective anti-retroviral therapy (with no medications prohibited by this protocol \[e.g. drug-drug interactions\]) with undetectable viral load within 6 months are eligible for this trial * for patients with evidence of chronic hepatitis b virus (hbv) infection, the hbv viral load must be undetectable on suppressive therapy (with no medications prohibited by this protocol \[e.g. drug-drug interactions\]), if indicated * patients with a history of hepatitis c virus (hcv) infection must have been treated and cured. for patients with hcv infection who are currently on treatment, they are eligible if they have an undetectable hcv viral load (with no medications prohibited by this protocol \[e.g. drug-drug interactions\]) * patients with a prior or concurrent malignancy whose natural history or treatment does not have the potential to interfere with the safety or efficacy assessment of the investigational regimen are eligible for this trial * patients with known history or current symptoms of cardiac disease, or history of treatment with cardiotoxic agents, should have a clinical risk assessment of cardiac function using the new york heart association functional classification. to be eligible for this trial, patients should be class 2b or better * concomitant use of physiologic corticosteroids is allowed * concomitant use of bisphosphonates is allowed (use of bone health agents is mandatory - either denosumab \[preferred\] or bisphosphonates) * the effects of radium-223 dichloride, m3814, and avelumab on the developing human fetus are unknown. men treated or enrolled on this protocol must also agree to use adequate contraception prior to the study, for the duration of study participation, and 6 months after completion of radium-223 dichloride, m3814, and avelumab administration * ability to understand and the willingness to sign a written informed consent document. participants with impaired decision-making capacity (idmc) who have a legally-authorized representative (lar) and/or family member available will also be eligible * patients must be able to swallow orally administered medication * patients with asymptomatic, treated brain metastases are permitted if there is no evidence of progression for at least 4 weeks after central nervous system (cns)-directed treatment, as ascertained by clinical examination and brain imaging (magnetic resonance imaging \[mri\] or ct scan) during the screening period exclusion criteria: * active autoimmune conditions or patients on chronic immunosuppression due to underlying autoimmune condition * patients who have had chemotherapy or radiotherapy within 4 weeks prior to entering the study * patients who have not recovered from adverse events due to prior anti-cancer therapy (i.e., have residual toxicities \> grade 1) with the exception of alopecia * patients who are receiving any other investigational agents * patients who have had previous hemibody external radiation * patients who have imminent/established spinal cord compression, pathological fracture in weight bearing bones or bone lesion with soft tissue component unless treated as appropriate with radiation and/or surgery before starting on trial * patients who have a history of allergic reactions attributed to compounds of similar chemical or biologic composition to radium-223 dichloride, m3814, or avelumab * patients unable to discontinue medications or substances that are potent inhibitors, inducers or sensitive substrates of cyp3a4/5 or cyp2c19 prior to study treatment are ineligible. * medications or substances that are strong inhibitors of cyp3a4/5 or cyp2c19 must be discontinued at least 1 week prior to first m3814 dose. * medications or substances that are strong inducers of cyp3a4/5 or cyp2c19 must be stopped at least 3 weeks prior to the first m3814 dose. * drugs mainly metabolized by cyp3a with a narrow therapeutic index (as judged by the investigator or authorized designee) must be discontinued at least 1 day prior to first m3814 dose. * note: because the lists of these agents are constantly changing, it is important to regularly consult a frequently- updated medical reference. as part of the enrollment/informed consent procedures, the patient will be counseled on the risk of interactions with other agents, and what to do if new medications need to be prescribed or if the patient is considering a new over-the- counter medicine or herbal product. * radium-223 dichloride should not be given concurrently with abiraterone plus prednisone/prednisolone * patients with uncontrolled intercurrent illness * patients with psychiatric illness/social situations that would limit compliance with study requirements * patients must not have an active infection requiring systemic treatment * patients must not use immunosuppressive medication =\< 7 days of registration, except for the following: * intranasal, inhaled, topical steroids, or local steroid injection (e.g., intra-articular injection) * systemic corticosteroids at physiologic doses =\< 10 mg/day of prednisone or equivalent * steroids as premedication for hypersensitivity reactions (e.g., ct scan premedication) * patients who cannot discontinue concomitant h2 blockers or proton-pump inhibitors (ppis). patients may confer with the study doctor to determine if such medications can be discontinued. these must be discontinued \>= 5 days prior to study treatment. patients do not need to discontinue calcium carbonate * patients receiving sorivudine or any chemically related analogues (such as brivudine) are excluded * patients with a known history or present osteonecrosis of the jaw