The home owner has no brains.
Block the entrance while the bear is not there?
If it wasn’t Commie California, you would just shoot the damn thing and have your neighbors swear that it attacked you, but it is Commie California so you just put up with it and whine on social media.