Hi,
From server side, please follow the knowledge base to enable mod_security
https://openlitespeed.org/kb/openlitespeed-modsecurity-module/
Another thing to protect your site is reCAPTCHA,
https://openlitespeed.org/kb/recaptcha-with-openlitespeed/
Best