A man in Wales was arrested by police for going for a walk too far from his home