LockCD
LockCD disables CD-ROM's eject button
...LockCD can also be accessed from the Explorer Context Menu by right-clicking on the CD-ROM icon.
This application was written after giving up on finding a properly functioning software that would lock CD-ROM's eject button on my Lenovo T520 laptop, which i hit quite frequently. The main problem with the software available on the internet is that it doesn't retain the lock state after Sleep/Hibernation/Resume.
This application is based on .Net 4.0 framework, so make sure its runtime is installed on your PC.
...