Bitlocker Windows 10 Pendrive

That is very unlikely. The usual cause is bugs in the sketch that corrupt variables used by the CDC stack that is part of the uploaded sketch. This results in the device not being detected or not reacting on the software reset.