The recently released root method for the GS5 worked on my locked Razr M running 4.4.2 KitKat.
Here's the thread for the method: http://xdaforums.com/showthread.php?t=2783157
Good luck!
Here's the thread for the method: http://xdaforums.com/showthread.php?t=2783157
Good luck!