A place for more technical discussions. Please make sure you post in the correct section on the site, this way it keeps the site tidy AND ensures you get a more relevant answer.
Please don't keep driving if the wheel bearing has failed.
A common cause for a hub to engage itself unprompted is a leaking vacuum solenoid. There are 2 solenoids under the cars battery, one for lock and one for unlock. They can be stripped and cleaned. Swapping the 2 solenoids around is a good way to diagnose this issue.