The specific laws governing bicycle lanes vary from jurisdiction to jurisdiction. In some places, it is only illegal to park in a bicycle lane during certain times of day or on certain days of the week. In other places, it is illegal to park in a bicycle lane at any time.
In addition to being illegal, parking in a bicycle lane can also be dangerous. When a vehicle is parked in a bicycle lane, it forces bicyclists to swerve into traffic to avoid it. This can increase the risk of a collision between a bicyclist and a motor vehicle.
For these reasons, it is important to obey the laws governing bicycle lanes and to avoid parking in them. If you must park your vehicle in a bicycle lane, be sure to do so only when it is legally permitted and when it will not create a safety hazard.