Yep! If it'll stop a bear, it'll stop a mountain lion. That said, mountain lions are a lot smaller, quicker, and harder to hit than bears. They're also stealthier, so you might want to bring a bell or another deterrent to encourage mountain lions to stay away rather than rely solely on sprays.