Can I change the pins when I use the library LiquidCrystal

I was wondering the same thing.

Of course you can. That's why the pin numbers are input to the instance.