Pact of Blade warlock being able to choose Book of Ancient Secrets (may or may be connected with getting Shovel the quasit as a Warlock?)

Here's some images:

https://imgur.com/UuhMwVj

&

https://imgur.com/WBZKRoE