A computer lock is a physical lock on a computer with an accompanying key used for access control or as an anti-theft system.