This question already has an answer here:

The usual rule is if I vote, it's locked in after 5 minutes or something, unless the question is edited. However, it seems if the edit takes place in a grace period of posting a question or the last edit, my vote is still locked in. This seems buggy.

marked as duplicate by animuson, djechlin, CRABOLO, ShaWiz, Martijn Pieters Aug 12 '14 at 7:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.