Kyoko generally seemed to have child like levels of self awareness (can't not dance). Stabbing the man she doesn't like makes sense, but locking somebody up requires greater reflection (the ability to predict their actions, knowing Caleb would likely report the escape). It wasn't clear to me how much the two worked together versus merely working in parallel.