not go toThe particle は adds contrast or emphasis to に, often meaning “as for [a place], I won’t go there.” This should not be confused with わけにはいかない, which means “cannot” or “must not” because of circumstances or responsibility.
won't go toA combination of に (to) + は (emphasis or contrast) + 行かない (not go). In 思い通りには行かない, it means that things do not go as planned or as one wishes.