I don't think they meant that the gov't could lock you in your house to keep the disease at bay...I suspect they meant you, the individual could use what means/force were necessary to keep diseased people from entering your house, including gov't thugs who could very well bring the disease with them...
Two centuries of law guide legal approach to modern pandemic>