This is how you hide your posts from a friend, without blocking him.
Restrict is one of the “hidden” Facebook features, that not many people know about it and use it.
It givers you another option regarding some unwanted people, besides outright blocking them. And the good thing is that they don’t know for sure you restricted them, but they can guess.