The main purpose of the study is to evaluate the effectiveness and safety of LY4268989 when given with mirikizumab compared to mirikizumab alone in adult participants with moderately to severely active ulcerative colitis (UC). Study participation will last approximately 118 weeks, including 104 weeks of treatment and may include up to 21 visits.