The LG K51 has many variants. All variants have Android 10 except the LG K51 for Boost Mobile which has Android 9.
Ive also looked into the credentials and theres a whole list of apps downloaded that have the name Root in them. As well as a system file saying RootPA. Is my phone as risk or is it still safe?
When trying to root via 3rd party apps, they download files (and bloatware) that must be use to root. If you really want to root your phone, better search Xda-Developers to find if there are methods for your phone instead of using the one-click apps.