The sample first person script doesn’t work. The mouse doesn’t even lock.
I’ve just tried this with Chrome Windows and it seems to be fine: https://playcanvas.com/editor/scene/440123
What browser and OS are you using? Do you also have a link to the project?