Section 339 of IPC 1860: Wrongful restraint

Wrongful restraint-Indian Penal Code
Whoever voluntarily obstructs any person so as to prevent that person from proceeding in any direction in which that person has a right to proceed, is said wrongfully to restrain that person.