Hey first of all thanks you helped me a lot. I fixed the problem just by adding the condition if the pointer lock with the (change the angle of player) action :)
Nice, could you show me a screenshot of the events