For me, I like to find connections between different uses of words. It helps me better remember them.
The word "frame" can mean many things. I think generically a "frame" is an edge or boundary to something. A "picture frame" is a border around a picture, painting, or photo. This is a literal interpretation of frame.
But then there are metaphorical uses of "frame. For example, to "frame a question" means to add context, or set the scene, or provide relevant background information needed for an audience to understand or appreciate a question.
The example you are interested in is to "frame a person" (in this case, Token), which as others have said, means to make someone look like they are guilty of something (for example, guilty of a crime, but it could also be a lesser offence like taking someone's pencil without asking permission).
All of these uses of "frame" mean something like "stage setting" (as in, setting up a stage for a performance). In the case of a painting, the stage is the border or background for the painting. In the case of framing a question, the stage is the background context/information. In the case of framing a person for a crime, the stage is evidence that suggests the person is guilty. In that sense, one is "setting the stage" to make it look like they are guilty (whether or not they are guilty).