A way to interpret it is that when she looks at her phone and it unlocks, it gives her the idea that it’s her superpower and she can look at anything and have it unlock.
In reality, it’s the iPhone doing it, and it only does it when she looks at it.
Basically, the ad tries to show how the girl feels. I think it captures that pretty well; at least I liked it (more than most other recent Apple ads).