The main aim of this study will be to assess the effectiveness and safety of the 6-month formulation of triptorelin pamoate in Chinese participants. Participants will have locally advanced and advanced cancer of the prostate. Prostate cancer is cancer that forms in tissues of the prostate (a gland in the male reproductive system). Advanced prostate