When do people go off work?

I know of course this varies for everyone, but assuming it’s not a high risk pregnancy, not put on bed rest or anything, when do people usually stop working?

I’m only 24 weeks now (FTM) but trying to plan accordingly (and realistically). My manager and a few coworkers said it’s normal to go off work anywhere from 1-2 months before due date, but that seems wild! I was planning on working until I feel like I can’t…. But when is that usually for others?