A mobile cart for dispensing medications has an automated locking mechanism for selectively opening the drawers of such cart. The locking/unlocking both unlocks and moves a respective drawer on command from a signal panel that is connected to a computerized controller. The caregiver enters an authorizing codes and patient identifiers so that one drawer unlocks and opens slightly. As such, the unlocked drawer is identified by lock mechanism, which slightly opens the drawer, thereby identifying the unlocked drawer in comparison to other closed, locked drawers.