US President Donald Trump has suspended the entry of certain foreign workers in the United States until the end of 2020.