IPhone app to block callers at specific times?

Do Not Disturb can do that, no 3rd party app needed.

You might have to juggle a new contacts group, because it only allows to receive calls from one group at a time, or favourites - so to exclude 'work' you might need to create a new group containing 'everyone else'

enter image description here

You can also toggle it manually from the Lock Screen

enter image description here