How to disable surface tracking in loiter mode

Here is my experience I can share, hope it is helpful to you. Same our drone is for indoor too. Can we know which flight control hardware are you using?