Lawmakers in France signed a labor agreement deal Friday that requires employers in the technology and consultancy industries to prohibit employees from checking emails and other work-related material on their computers or smartphones outside of work.