Although it's rare for snake plants grown as houseplants to bloom, it is possible for them to do so. Usually they don't get enough light indoors to bloom. Apparently yours is getting the right environmental conditions to induce flowering. You need not do anything to the flower stalk other than enjoy it (although the blooms aren't particularly colorful.) After the flowers have faded, go ahead and cut off the entire flower spike.