Iron golems are occasionally choosing a block to path to and not leaving the block or wandering from it.
Even when pulled from the location with a lead, the golem will still path find back to that same block.
No steps to recreate, just watch an iron golem wander about.
Related issues
Comments

We're tracking this issue as MCPE-49607, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you aren't already, please don't forget to use the search feature, the less time volunteers spend linking duplicates the more time we have to update new reports.
Voting on an existing report has a greater impact on getting the bugs most important to you fixed!
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki