Bet you didn’t know there are building codes for door locks? Yep, in many cases, locks that require a key on the exterior must not require a key to disengage from the interior. To understand any local or state requirements for locks in your home, you can consult specific building codes or a contractor.