Boris Johnson says the change means people with coronavirus are legally obliged to stay at home.