Hello,
For this purpose you will need a customized keyboard. I can help you create it, be informed that Function keys are built in a lower level on your phone, keys like volume up and down are essentially function keys.
Contact me to discuss it in detail.
Looking forward to working with you!