RecruitingPhase 3Drug trialAMAZE 4: A Research Study Investigating How Well the Medicine NNC0487-0111 Helps People With Excess Body Weight and Obstructive Sleep Apnoea Treated With Positive Airway Pressure Lose Weight and Improve Sleep ApnoeaThis study is being done to look at the efficacy and safety of NNC0487-0111 in participants with overweight or obesity, and obstructive sleep apnoea treated with positive airway pressure. There are 2 study treatments in this study taken as injections under the skin once a week. Participants will either get NNC0487-0111, (the treatment being tested) or Placebo (a treatment that has no active medicine in it) and which treatment participants get is decided by chance.