Added locks to dumpprivkey, dumpwallet, importprivkey, importwallet, and importaddress.
Added locks to listunspent.