Very straightforward to do.
Once you get past the tutorial, boot up a training session and select the driving range. You want to get perfect on your upswing and downswing and make the shot straight.
The good thing is the shots don't need to be consecutive but it does need to be done in one session. Once the 25th is hit, the achievement is yours.
Thanks to additional info from Chelsea RDH, you can use a lob wedge on chip shots to make it quicker. Driver isn't required.