Can I put road salt into toilet/sink trap to prevent it from freezing?
Your plan is OK except that -20C is about the lowest you are going to get protection with NaCl (i.e. common salt).  Here is a graph of freeze point vs. concentration.  You really cannot get a higher concentration than about 23% since excess salt precipitates out.
I think you'll be better off using an anti-freeze product.