Not sure if I understood your question correctly as it may mean any of following two.
#1 - Grep in first 10 lines
head -10 filename | grep "search string"
#2 - Show first 10 grep result lines
grep "search string" filename | head -10