Default unlocking bootloader/rooting question

is there no way to root the G withouth unlocking the bootloader?
got the phone for my daughter and she installed a bunch of games and i don't want to have to wipe the phone, just to root it.
HTC One S S4 | S-OFF | SuperCID | hboot 2.15 | ViperOneS 3.1.0 | ElementalX-6.4