bug fix  location lock status

Signed-off-by: drizztz <kiddzhang@yeah.net>