Hi there,
For some conservative residencies, your locks are going to be a problem especially if they are wild (read Rasta). If your locks are neat, most folks who live in the 21st century don't have a problem with them. A couple of my classmates decided to cut their locks even though they were very neat. They grew them back after they matched.
I didn't have locks during medical school but I am growing mine out now. I am in a very conservative residency program but my locks are neat and well groomed.
Good luck!
njbmd 😀