added example for the pointer lock api