fixed locked.lua for regular cabinit