There is no longer any such offence, as obstruction, in the rules / laws of the game.
You can be penalised however, for 'impeding the progress of an opponent'. The difference between "impeding" and "shielding the ball" is a bit subjective, but basically - if the defender has the ball under...