Imprison fails if no opponent possesses a move the user knows at the time Imprison is used. Imprison cannot be stolen by Snatch. Generation V onwards. Imprison still works even if no opponent has a move the user knows. Although Imprison has no immediate effect in such a case, if the user or opponents change the moves they know (e.g. Mimic ... More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.