I have had the same problem with my dewalt drill until i stumbled across how to use keyless chucks properly (incase your in the same position)
when you tighten the chuck all the way up, loosen it off just one click. This actually locks a keyless chuck in properly and stops the drill bits from spinning. Then when removing drill bit just tighten back up one click again before loosening chuck.
May seem common knowledge to some but literally no one I've talked to since finding this out knew anything about it haha
good luck