In company setting, you can use close books, that is not an accounting close, it just password protects the file from edits being made before the closing date

Resolution for 'before the closing date issue: 'Can audited account be locked?' available: Yes.

The before the closing date issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the before the closing date issue yourself by looking for a resolution described in the article. If it is a complex before the closing date issue or you are unable to solve the issue, you may contact us by clicking here or by using other before the closing date support options.

For more information about resolving issues related to before the closing date in Quickbooks/QBO or to get support for the issue 'Can audited account be locked?', click the link below: