Hi,
A machine I just built has the annoying problem of NOT wanting to open the CD/DVD trays when commanded (via the "open" button on the front panel *or* "eject" sent via software). You can see (and hear) the tray trying to open but acting like it's jammed.
Two identical drives, side by side, exhibiting the same problem in that machine. Either can be opened with the paperclip trick.
At first, I suspected I may have used mounting screws that were too long (on some drives, the mounting holes can interfere with the tray mechanism, internally).
*OTOH*, when media is present in the tray, they behave perfectly normally! E.g., I can open and close the tray repeatedly without incident. Remove the medium and it immediately "jams up".