02 foreman 450 trans issue

15xx hours and 5k miles. but what happens is when i over rev it on accident obviously. It locks it self in that gear and wont let me shift up or down unless i shut it off with the key and then it will allow me to change gears and start over. What id like to know is if this is a factory protection or if theres something wrong.

Im not sure if this is in the right section or not.