You don't say what operating system you are using but it sounds like it may be Mac. If that is the case you simply need to press the Function key (fn) while pressing F2. It's in the lower left corner of your keyboard.
Macs have multiple functions mapped to the function keys so pressing fn tells it you want the rename function in Lightroom instead of screen brightness.