Blocked by Detect (irrelevant since it targets the user)
Applies the Imprison status to the user, which prevents foes from using moves that the user knows. If the foe is locked into a move that gets Imprisoned, then they are forced to use Struggle. The effect ends when the user switches out, and cannot be Baton Passed. The effect remains if the foe switches out, however. If the user's moveset changes due to Mimic or Transform, the new moves are blocked instead of the old ones.
Imprison fails and does not apply Imprison status if no foe has a move that the user knows.