The purpose of the study is to demonstrate superiority of Saruparib (AZD5305) relative to placebo added to a standard radiation therapy (RT) + androgen deprivation therapy (ADT) regimen by assessment of metastases-free survival in participants with high-risk and very high-risk localised/locally advanced prostate cancer with a breast cancer gene mutation (BRCAm).