The ability of a microorganism to create a protein that disarms an antibiotic or prevents transport of the antibiotic into the cell.