Sometimes they may be near enough interchangeable, but not always. One example when they are not: I continued walking for another ten minutes. "with" cannot be used here (or is at best unusual).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.