Think of biweekly and biweekly as homonyms, they can mean either and you figure out the meaning through context.
Very few things happen twice a week, biweekly usually means every second week, but it's never used because fortnightly is preferred.
Others here are saying bimonthly means twice a month but I've never heard it used that way. Again, very few things happen twice a month, it's always fortnightly which is not the same. Lots of things happen every second month, "the board meets bimonthly", that means 6 times a year.
Biannual always means twice a year because what things do you do every second year?
In all cases you can use the alternative meaning like "I visit my cousin biannually" and it's not incorrect but of course "I visit my cousin every second year" avoids confusion.