Place the eggs in a medium sauce pan that has lid. Cover with water and bring to a rolling boil. Immediately remove from the heat and cover with the lid and let them sit for 3 minutes undisturbed
Uncover and drain off the hot water and rinse with cold running water to stop the cooking process. They are hard to peel when warm. I usually let them cool down in the fridge and they are easier to peel the next day. But if you need it on the same day, submerge it in a cold water for a while and you'll be able to peel them much easier
Notes
I notice that when when I cook 4 eggs in a saucepan, they need about 4 minutes to get that "lava" consistency on the yolk. If I cook only 2 eggs, they need only 3 minutes to get the "lava" consistency. This is something that you may need to experiment with to get the lava consistency. The size of the eggs may affect the result too. I used eggs with white shells, I'm not sure how the timing I put on recipe will affect the brown eggs. Some people let the eggs come to room temperature before boiling them, but I've tried both and didn't seem to affect much on the cooking time