it is interesting see the replies here. Personally I wouldn't think twice about a four hour gap. (Heck given the choice between a 2 and 1/2 hour gap and 4 hour gap. I'd book the 2 and 1/2 hour gap flight and take my chances. Of course I wouldn't do that if I had no fallbacks or missing the 2nd flight meant missing a business meeting or a wedding.)
I know this is two tickets and I'd never second guess an airline booked thru ticket-- that is until recently when I saw firsthand a surprising 30+ minute plus passport control delay in Schiphol. Last two times I went through that airport it seemed challenged and understaffed-- probably a post-covid recovery effect. I dunno. Is Heathrow like that?
I haven't flown through Heathrow for number of years and maybe it's prone to logjams. I know I used always avoid Chicago O'hare after having missed some connections.
The whole business of always being at least three hours early always seemed overstated. I took "at least" to really mean "at most". Then I'd follow that advice only to catch an early flight and then find security wasn't even open yet.
In any case, good luck and I sure hope 4 hours is plenty -- but hey what do I know?