Had you just shot a mountain lion for merely hanging out in your backyard you'd get locked up jesus christ people think before you post
No you wouldn't. Might get a cite for it, but you wouldn't get locked up. Regardless if you felt the mountain lion posed a danger you'd shoot it without caring about getting cited or locked up.