These are the known Note 9 'secret codes'. Not sure why you're having issues on your unlocked model, though...those shouldn't be blocked on that one.
*#06# (IMEI)
*1234# (Firmware Information)
*#0842# (Vibration Motor Test)
*#9090# (Diagnostic information)
*#7780# (Factory Data Reset (all phone data will be erased))
*#8736364# (OTA Update Menu screen)
#*2562#, #*3849#, #*3851# and #*3876# (All codes for restarting the phone)
*#0011#, *#32489# (Service Mode)
*#7284# (USB I2C Mode Controlling Panel)
*#0673# (Audible Test)
*#872564# (T control the USB Logging)
*#9900# (System dump mode)
*#1575# (To manage GPS menu)
*#7412365# (Camera Firmware Std Menu)
*#0228# (To get Battery status)
*#12580*369# (To check software and hardware information)
*2767*3855# (Full Factory Reset (no confirmation))
*#0*# (Hardware diagnostic tests)
*#7353# (Quick Test Menu)