He was found to have given a patient medicine and left a medicine cabinet unlocked, the NMC says.