I’ve always played it as a 3rd level ritual that a wizard must learn separate from find familiar and costs 100 gold per casting. But you can choose one of the special familiars. Locks still get it cheaper, only use a first level ritual, and can make attacks with it using pact of the chain.