Firewall always off on boot & trash can on dock

I can’t seem to figure out two things:

The firewall is always turned off when I boot up my computer. I have tried doing “sudo ufw enable” and that does not work. Any ideas?

Also, how in the world do I get the trash icon off my dock?

Probably some code like sudo systemctl enable ufw.

Hover over the Trash icon, then place two fingers on the trackpad. Click using a third finger to “right-click”, and somewhere on that context menu is an option to remove the icon from the “dock”.

I tried the code and it didn’t work and I don’t have the option for “remove from dock” when I right click.

The option should be something like “Remove from Favourites”.