Yes, you would have to apply for a Direct Airside Transit visa if you have to transit through the UK without passing through UK Border Control.