I just installed latest version of Comodo firewall. safe to install avg?

I just installed latest version of Comodo firewall.

Is it safe to install AVG? i don’t want to get locked out of my computer again.

You shouldn’t have a problem unless you have another antimalware product with a real-time scanner also installed.