The iPhone security indicators stop naturally when the camera or microphone is not being used. If you want to manually disable the indicators there is no function provided by Apple to do so.