The exemplary embodiments herein provide a method for controlling access to medications. The method preferably includes the step of electronically unlocking a lid for a single bin out of a plurality of bins within a delivery module at a first location, to accept a medication into the unlocked bin, where the rest of the bins in the same delivery module remain locked. The method should then engage a mechanical lock on the lid once it has been closed, maintain the bin in a locked state during transport to a second location, and engage a mechanical lock on the delivery module once it has been lowered into a drawer at the second location.