You can change wp-content folder manually or using the WP Ghost plugin.

  1. You can manually change the folder wp-content into lib (or any other name) using the File Manager on your server panel or FTP client. After the change, you will need to re-login to your website.
  2. Use the WP Ghost plugin to change the wp-content path into lib (or any other name) and hide all the WordPress common paths to protect your website from hackers. No files or directories are physically altered.
WP Core Security

Read More: Change wp-content Path with WP Ghost