Tag How can we check locks in database