Confirmation when editing transaction before lock dates
After the lock dates is set, xero should prompt advisors to alert them when they try to edit anything before the lock dates, and let the advisors to confirm that they really want to edit the transaction before the lock dates.

Hi Choon Wei, there are 2 lock dates that can be set in your Xero organisation. One will stop all users except advisers from making changes, the other will stop all users from making changes on or before the lock date set.
Setting up the latter lock date should help with the notifications that you're mentioning here, and where you'd still like to proceed with the change you'd go to the financial settings to remove/reapply the lock date once complete.