Tunneling control and localization for Bose-Einstein condensates in a frequency modulated optical lattice