Hi Vijay,
What you can do is, when your supplier sends free goods just go to the PO and add one more line item to it with 5 quantity. Mark this line as free goods. do GR only for this line item.
Next time when vendor sends the actual 10 quantity then you can do the GR for the first line item.
Regards,
Mayank