Update to content only editing filter namespace
With WordPress 6.2, the filter hook namespace for the content lock filter hook is now ‘core/content-lock-ui/with-block-controls’.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed