A combined clamp and lock includes: a lower clamp member having a lower abutment plate, a wall projecting upwardly from the lower abutment plate, and a lock-mounting hole extending through the wall; an upper clamp member having an upper abutment plate, and at least one leg extending downwardly from the upper abutment plate and overlapping the wall; a fastening unit fastening the leg to the wall so that the lower and upper abutment plates define a clamping space therebetween; and a lock extending through the lock-mounting hole. A notebook computer may be prevented from being opened when clamped within the clamping space and locked by the lock.