You canot file the temporary injunction petition alone in the court of law.
This is an application filed under order 39 rule 1 and 2 along with the main suit seeking partition or any other major relief.
The temporary injunction will be granted by the court only till the disposal of the main suit.
The time taken for disposal of the application for temporary injunction cannot be predicted, because these days most of the courts across the country do not grant an exparte injunction even if there are very strong reasons and the exparte injunction order may be justified by law and the facts.
Therefore the injunction application will go through the process of serving notice to the respondents, they may have to file their counter, and the court will adjourn the matter for enquiry/arguments from both the sides. All these process will involve plenty of time especially in the given pandemic situation.
In any case it may at least take one year to decide about the temporary injunction application considering various factors involved in this procedure.