Cabinet minister orders people to stay at home an hour before No10 party took place