XF 1.5 How to Prevent Liking inside a Locked Thread?

When a Thread is Locked, no one can add any more posts to it. Is there also a way to prevent any of the posts in the Locked Thread from being Liked or UnLiked? I would like to capture the state of the Likes when the Thread is Locked and not have users bump up the Like count in a Thread that is Frozen by being Locked.