how can your boiler have a air lock when you flush your toilet the two are not connected in anyway.
your float valve in your cistern will be the problem.
because it runs off the mains cold water pipe which also feeds the boiler, run a cold tap the same time as flushing your toilet, you will find the noise will stop.
change your float valve or fit new diaphragm.
hi-spec plumbing, May 2007