Free movement of people between the U.K. and the European Union will come to an end in March 2019 after the completion of Brexit, a U.K. minister has said.