a lock is used for securing a building