Check Pair has Lock or not?

How can we check given pair(token Pair addresses) has lock or not ?
For example : (BSC network)
token 1: 0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
token 2: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
are provided Pair of tokens,
Need to check this pair has lock or not? (need to check with all the pools which are having given pair)
help me with the query please…

How to check it has a lock or not? You need to tell me then only I can provide how to get it programmatically