Yeah - most penetrating oils are better than WD40. WD = Water Displacement. Originally developed for the US Navy, its good for that. Marginal as a penetrant.
Many swear by soda (beverages) with phosphoric acid in it (e.g. CocaCola - the US version anyway ...). Can eat some finishes (paints).
If the bolt is steel, nitric acid can be your friend ... I presume that anyone who uses this approach, knows what they are handling, and how to do so ...
Heat, where convenient to apply (like, torch heat, enough to burn off the oxygen in the oxide), also a friend.