Exploring dynamic localization with a Bose-Einstein condensate