You can paint it, but since paint doesn't stick to chrome very well, and the key lock is a very high traffic area that gets a sharp object jabbed at it all the time, you'll be repainting it soon.
FYI, they should be chrome and not white, so that means your car's been repainted.