Roto-till the recently added -l stuff. Mostly because I don't see any reason why asking for a list of locked packages (and what exactly is wrong with 'pkg info -ak' or 'pkg query -e "%k == 1" "%n-%v"' for that matter?) should preclude locking or unlocking stuff as pkg lock is intended to do. Nor why pkg unlock should be antithetical to getting a list of what is locked.
Matthew Seaman