On the Threshold of Release of Confinement in an Epidemic SEIR Model Taking into Account the Protective Effect of Mask