Top bars in a 2 span beam should be lapped mid span where there is no negative (hogging) bending moment. Theoretically the bars wouldn’t need to be lapped, but it is good practice to provide a lap here for minimum beam strength. Lap the 10 bars, the other 5 can just stop.
Alternatively, the 5 bars out of the 15 for the hogging moment could stop a lap length past the point where only 10 bars are required, typically 30% of the span to AS3600