Hi M8
Can i assume this is off an electric motor ?
The motor on my lathe has a conical washer that bears on the outer bearing ring, when the rotor shaft increases in length from expansion the washer will compress, as a rule the exerted pressure should stop the outer ring from rotating.
If i have this wrong i am sure someone will correct me.
Kindest Regards
Mike