Lock mautic during deployment

Your software
My Mautic version is: 5.2.3
My PHP version is: 8.2.20
My Database type and version is: MariaDB 10.5.18

Your problem
I want to lock the Mautic instance on STAGING or LIVE during deployment to editors, but I can’t find a CLI command to do this. Is there a possibility?