Slightly buggy, as I believe the batter who bunts must be thrown out at first base to count as a sacrifice.
To do this get on first base via a base hit, walk, HBP, etc.
Then bunt by pressing B
The ball should go almost no where, and if you're lucky the AI will throw it to first base to get the out.
This cannot be done with two outs.