This is how I do it, but it doesn't work! I unlocked it without synchronizing the blockchain.
Based from the hint above, do somehow have a
disablewallet=1 entry in your bitcoin.conf file or as an additional start parameter?
Because disabling the wallet will make 'wallet RPC commands' like walletpassphrase invalid.