I was just reading the documentation before. I checked the code and wp_check_post_lock is a function, so I don’t know why the error. To be honest, the documentation on the whole post locking thing is not very clear. For example, there’s nothing that I can find to unlock a post, only to lock it. The poor documentation on the subject may be the reason that it’s not something ACF is doing.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users