From midnight, France's 65 million population were largely confined to their homes, needing written statements to leave, in the latest drastic measure to curb a disease that has infected more than 44.5 million worldwide and killed nearly 1.2 million.