How to lock CD / DVD drive & prevent drive eject?

CD / DVD drive is used for more things that just playing and burning CDs /DVDs. Did we forget the play element involved? Like ejecting the drive tray and placing coffee mug and use it as coffee cup holder. Well, such things can be avoided if its only mature people playing around. Kids