there is a workaround for this:
first clone the object
disable rotations in the clone
when it's time to toggle rotation, you spawn the nonrotatable object
disable collisions between them, and destroy the original
this cap demonstrates this. of course, don't draw an arrow on your clone or it'll be obvious what you're doing
tada!