Luckily, neither Pinball FX nor Pinball M requires a code! 

You can activate Cabinet Mode in the games' Options menu, under Cabinet Support.


You can find out more information about setting up Cabinet Mode here: https://www.pinballfx.com/?page_id=7754


Have fun!