A bicycle lock is a security device used to protect bicycles from theft by securing them to a fixed object. It is commonly used in urban and public spaces to deter unauthorized removal of bikes.