A semantic model of confinement and Locality Theorem