SPOILER ALERT!!!
Fanshawe's childhood friend is the author of the books and The Locked Room is his account on how he went from magazine writer to an author of fiction. We can look at The Locked Room as the source material for City of Glass and Ghost. The red notebooks, characters etc. Their symbolic meaning can be found in Locked Room.