>>4315067The key term is “hyperfocal”. Look that up. There are apps that calculate it and manual focus lenses were intended to help achieve it.
Get an old manual focus lens that has a distance scale and focus lines.
Example 28mm lens, f/11, focus to 8ft. Everything from 4 ft to infinity will be “sorta” in focus, or at least good enough for 6 in prints.
In other situations where you are guaranteed to be a certain distance from subject just set the lens to infinity and forget about it.