Is this what is called a blocking bet? Because that is what I wanted it to be. I think if I check he might shove, and I also think I might not be ahead, but I don't want to call his shove. So is this a good bet or what?

Have like 10 hands on villain

PokerStars No-Limit Hold'em, $0.10 BB (6 handed) Poker-Stars Converter Tool from FlopTurnRiver.com (Format: FlopTurnRiver)

Button ($9.15)
SB ($9.90)
BB ($15.85)
Hero ($21.80)
MP ($15.20)
CO ($10)

Preflop: Hero is UTG with K, J.
Hero raises to $0.4, 1 fold, CO calls $0.40, 3 folds.

Flop: ($0.95) 4, 9, J (2 players)
Hero bets $0.7, CO calls $0.70.

Turn: ($2.35) 5 (2 players)
Hero bets $1.9, CO calls $1.90.

River: ($6.15) 7 (2 players)
Hero bets $2, CO calls $2.

Final Pot: $10.15