It’s different from the novel, in the novel it was Lloyd who prays earnestly and takes Xavier to heaven and Lloyd was the one to make the deal with the Angel. But I like this improvisation. Now we’ve got two Lloyds 

So in the novel Lloyd tricks the manager of the angels into giving a revelation to the queen, that revelation is basically telling them to handover the sacred relic 'eye of summer' to Lloyd. Which he needs to survive from the freezing heart .
Later the he** king decides to invade Frontera estates with his he** knights.
Brace yourself for the next spoiler
Lloyd dies and returns to Korea