Can you just pop the cap off the f12 button ? That way it'll still be there if you need it ( probably never will).
Turning off developer mode in Edge only disables F12 opening dev tools for your browser session. It's still available for all other applications.