Angolan President João Lourenço has signed into law new legislation that regulates the operation of nongovernmental organizations and other groups in the country.