Maintain third-person limited viewpoint
Separate what the viewpoint character observes, remembers, and infers from what other characters privately know. Signal inferences through behavior or wording.
Try it
Replace a statement about the guard's hidden fear with an action the librarian can notice, such as his hand staying on the latch.