I had this a couple of months ago. I took a tablet before I went to bed and when I woke up it felt like it was still there! It went on for days gradually getting worse and feeling like my oesophagus had lots of lumps in. It turned out I had an acid reflux, and the acid in my stomach was burning my food pipe and causing it to be sore and inflammed.
My doctor gave me some tablets which did work, but it took about a further week to go completely.
If the blocked feeling continues, go to see your doctor.