Cops need the warrant to search anything you have that is locked. Some dimebags come with a lock to keep it safe. Never ever give a cop the right to search anything of yours. This is common practice as cops will push you over if they can.
Dime bags can be searched any time if you let the cop search the bag.