locked = Boolean - true if the instance is currently locked, false for a historic entry
So working with this API should locked not return true as soon as you kill a boss in a new instance?
I am finding that it works fine for an instance you are already saved to but when you kill the first boss in a new or historical instance locked does not become true until an amount of time later (which I have not determined yet)
Is this a bug or am I missing something?
It seems to take some time for the API to return up-to-date information about instance locks. I noticed this the other day while working on my minimap addon... I'm adding a tooltip to the instance difficulty button that shows the status of each encounter in the current instance. Unfortunately, the API frequently returns wrong data, especially if you've left an instance and returned to it some time later.