If someone you know wants to hand in a knife they can find a knife bin.
But remember there is no excuse for carrying a knife in a public place unless they are depositing it as part of a knife surrender.
If they are stopped and a police officer suspects it has been used in a criminal offence, they may have to answer questions regarding how they came to have it.