Ah, I see what you mean now. It's confusing because your images show different Home Positions from different flights, so it was difficult to see what's going on. I overlaid your images to make them a little easier to understand.
The big yellow Home Point in the centre of your purple boundary unlocked authorization zone is from a previous flight. The flight route at the bottom of the image, with the various coloured tags, is where you encountered your problem.
View attachment 150045
The red boundary shows your unlocked authorization zone, which was still active at the time of this flight. Your flight started on the island
outside of this boundary and your drone eventually crossed over the red line
into the authorized unlocked zone, but then was prevented from crossing back outside to
leave the zone. That left the drone stranded within the zone and unable to return to you.
View attachment 150046
I've never had the need to use any unlock features, so I have no personal experience at how they work. But I would think if you define a custom boundary within which you receive authorization to operate, that would create a custom perimeter
within which you have permission to fly freely only if you remain
within that perimeter.
You took off from a location where flight is already permitted, but crossed into the perimeter that you created, and then were prevented from leaving the boundaries which you earlier created for yourself.
I'm not sure you could call this a software bug, as it appears to have worked exactly as designed.