Just don't carry in your back pocket!
It's ok in the checked in luggage, obviously don't take it with you in your hand luggage!
Even though I love my straight razors I actually just take a safety razor with me if I travel for short weekends with hand luggage only.
Yes that thought occurred to me as well!What do you do with the blades for your safety razor? Those are not allowed in hand luggage either.