Whitlam residents were told to stay indoors for their own safety amid a police operation responding to a person reportedly armed with a gun.