Local social services agencies have been directed by the Maryland Department of Human Services to end the practice of housing foster care children in hotels.