Description
A lock commonly means that another application is accessing a database, and the ability to alter its structure, such as by adding or removing fields, is restricted. A common cause for a schema lock is displaying a dataset while trying to modify the dataset in another application.
Solution
If using multiple applications, check whether those applications might be accessing the same data.