In the first example, if "have to do" means "have (in hand) to do" or "have (here) to do", in the sense "to have something to do", it's fine.
No, it's haff to (deontic have to) that I'm using there.
In the second example, and in the first if "have to do" is deontic, there is a slight...