I cut myself on a rusty nail while out walking last week. Is it true this could give me lockjaw?

No, that's a myth. Tetanus (lockjaw) is caused by a germ and is nothing to do with rust.