Follow the signs, how much you walk is dependent on the gate you come into some are a longer walk than others, you will transfer via bus between the terminals but you still need to go thru security in Lhr, there is a transfer passengers security area, but Lhr is very well marked so your best bet is to follow the connections signs