Well cops legally cannot go into a locked trunk. Same with your house. They need a warrant to legally search either. If they search it anyways and find anything you'll go spend a night in jail, have to post bail, and then your case will be thrown out when you appear to court.

Know your rights, but know that they only hold up in the court of law and no cop likes being told what he can and cannot do.