Equivalent Legacy Law: IPC Section 452
BNS Section 333 deals with the legal rules and penalties for WRONGFUL RESTRAINT. In simple terms: Preventing a person from moving in a direction they have a legal right to go.
Real-World Scenario
"Standing in front of someone's bicycle path and refusing to let them pass on a public road."