We've sussed out how to open the lock.
We've sussed him out — he only drinks on Fridays and only in that bar in town.