Making mechanical password lock with nut fittings