A privacy lock is a lock that is designed to allow someone to quickly lock a room from the inside for privacy. Such locks are most commonly seen on bedrooms and bathrooms, where people might not necessarily be concerned about security, but would have reasons to lock the door to keep people out.
The keyed functions have a turn button on the inside, similar to the privacy lock
This type of function is made for doors where security is a concern, where no one is able to enter without a key when door is locked from either the inside turn button or from locking it with a key from the outside