Crying hard, suddenly stops when he has blanket to sleep

Does your baby cry hard when he's supposed to be asleep but all of a sudden stop when you give him his blanket? It's so crazy!!! I give him his blanket to go to sleep now, but take it away when he falls asleep. Because I don't want him to suffocate from the blanket on his face, which is ALWAYS WHAT HE DOES.