Man sentenced to 10 years in prison for imprisoning 2 children in home for year