If you're up by three with nine seconds left, absolutely foul on the inbound. If you're up by two you're guaranteeing the opponent a chance to tie. Defend the inbound, defend the perimeter. Even if someone's a 90% free throw shooter there's no one with a 90% jump shot.