If you are on one ticket you should be fine, but I think it could be wise to read into some of the excellent threads such as this one below, of course depending on which Terminal you are arriving to / departing from.
https://www.flyertalk.com/forum/brit...ng-lhr-t5.html