At first I thought I was just getting senile, but now I know for a fact I've discovered a bug.
I bought several locks (usually two at a time) and I locked my chest with one. I logged off, and came on later - moved my chest intending to relock it elsewhere and I was told I had no locks.
When you log off your account is wiped of locks. Thanks.