The purpose of this study is to identify the recommended phase 2 combination dose (RP2CD) of Pasritamig in combination with JNJ-86974680 in Part 1 (Dose finding) of the study and to determine how safe and tolerable the RP2CD is for treatment of participants with advanced prostate cancer in Part 2 (Dose expansion) of study.