The utility model discloses a compact structure lock, including lock shell, lock core, row piece subassembly and elastic part, through the extension direction of first movable slot and second movable slot is perpendicular to each other, and row piece subassembly is two groups settings, and two groups of row piece subassembly are set in corresponding first movable slot and second movable slot respectively and along first movable slot and second movable slot extension direction to and fro activity, make two groups of row piece's activity direction respectively be located in same plane, need to exert force to row piece subassembly from different directions when using external tool to unlock, and cooperate two groups of row piece and first movable slot and second movable slot are set up to each other close, effectively compressed the activity space and range when unlocking of external unlocking space, further increase the difficulty of unlocking, and the anti -theft performance is better.