Upvote:2
You can transfer between all the terminals at LHR without clearing immigration, so if your ticket is in a single booking or you only have hand luggage, you do not need to clear immigration
With separate bookings and checked luggage, you'll have to clear immigration to collect the luggage, which you can do on your US visa.