A-) Negative : Mr. Saantos isn't going to turn off the lights at 10 o' clock
Interrogative : Is Mr. Saantos going to turn off the lights at 10 o' clock?
b-) Negative : The messages aren't going to appear instantly.
Interrogative : Are the messages going to appear instantly?
Espero ter ajudado!