Boris Johnson says the by-election result is a “mandate” for his party to “continue to deliver” across the UK.