This was an issue that was reported and then reported fixed, but still is a persistant problem.
Chickens in a chicken cooker who are killed by a lava block, do not burn. This means the chicken will be killed by the lava, but not cooked.
This is similar to hostile mobs not burning when standing on slabs, as the chicken cooker requires the adult chicken be standing on a slab when it's head is in the lava.
Linked issues
duplicates
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-74767, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki