Embedded Lock in NextJS app

I guess the answer is this is not possible?

I didn’t get an answer either

Although I can see that logrocket has figured it out (see image in my post)