But the Teutonic-Lithuanian war took three times as long as the subjugation of Prussia.In Prussia they eventually managed to accomplish this task but in Samogitia they did not have enough time.
Prussia was fully subjugated after the Great Prussian Uprising, in the 1280s, 50 years after the initial invasion.
The war against Lithuania over Samogitia took from 1260 to 1410, 150 years.
Lack of time was not a problem for the Teutonic Knights at all.