This phrase is similar to “a line in the sand.” It means that there will be a time of reckoning.
For Example:
If something has been taking place which you do not condone and you intend to put a stop to it, you could say, “the buck stops here with me.”