The LCD library will allow you to use any pins that you want for the LCD. On a Nano, you can also use the analog inputs as they are digital pins first and have analog input as a special function. If you want to minimize the number of pins that the LCD uses, use an I2C enabled 1602 display or an I2C enabled 20x4 display.
If you go the I2C 1602 or 2004 LCD route, the best library is the hd44780 library by Bill Perry. The library is available through the library manager. For an I2C LCD display to work, the I2C address and the I2C backpack to LCD pin mapping must be correct. If the library default settings for either or both are not correct the LCD will not work. You can try to figure out the right pin mapping and use an I2C scanner to find the address, but if you install and use the hd44780 library that is done automatically by the library. The library is actively maintained and faster than any of the older LiquidCrystal_I2C libraries.
The hd44780 library also supports the 4 pin parallel interface.