Actually if you just remove their safety, they will prefer to move back to their homes in the wilderness. Walls do help, but the real solution is not encouraging them to hang around. The only friendly bear is a dead one.