RecruitingPhase 3Drug trialA Research Study Investigating How Well the Medicine NNC0487-0111 Helps People With Excess Body Weight and Knee Osteoarthritis Lose Weight and Reduce PainThe purpose of this clinical study is to find out if NNC0487-0111 is safe and effective for treating people who have excess body weight and knee osteoarthritis. 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). Which treatment participants get is decided by chance.