Adding admin command to get locks.

Bugs closed: AURORA-347

Reviewed at https://reviews.apache.org/r/22701/