unicode function for Lock