1# Theme Framework Subsystem – Screen Lock Management Service Changelog
2
3## cl.screenlock.1 Instance Name Change
4
5Changed the name of the instance for importing the **@ohos.screenLock** module from **screenlock** to **screenLock**.
6
7**Change Impact**
8
9None.
10
11**Key API/Component Changes**
12
13Before change:
14
15 ```js
16screenlock.isLocked();
17screenlock.unlock();
18screenlock.lock();
19screenlock.onSystemEvent(event=>{});
20screenlock.sendScreenLockEvent('unlockScreenResult', 0);
21screenlock.isScreenLocked()
22screenlock.isSecureMode();
23screenlock.unlockScreen();
24 ```
25
26After change:
27
28 ```js
29screenLock.isLocked();
30screenLock.unlock();
31screenLock.lock();
32screenLock.onSystemEvent(event=>{});
33screenLock.sendScreenLockEvent('unlockScreenResult', 0);
34screenLock.isScreenLocked()
35screenLock.isSecureMode();
36screenLock.unlockScreen();
37 ```
38
39**Adaptation Guide**
40
41Use **screenLock** in the **import** statement.
42
43Before change:
44
45```js
46import screenlock from '@ohos.screenLock';
47```
48
49After change:
50
51```js
52import screenLock from '@ohos.screenLock';
53```
54