a lock provides security