1# theme_screenlock_mgr 2 3#### Introduction 4Provide three-party APP with the ability to request unlockScreen, query the screenlock status, and query whether to set the screenlock password. 5Provide screenOn callback, screenOff callback, screenSaver in and out callback, user switching callback, and screenlock manager service running status callback to the operation management 6 7**subsystem architecture diagram** 8 9 10#### Warehouse path 11/base/theme/screenlock_mgr 12 13#### Introduction to framework code 14/base/theme/screenlock_mgr 15├── figures # architecture diagram 16├── frameworks 17│ ├── js/napi # the js interface resolves to the napi interface 18│ └── native # interface provided for app 19├── sa_profile # module contains the config files of system services and processes 20├── services # implementation of screenlock manager service 21├── test # unit test of interface 22└── utils # module contains log printing and constants for ordered commonEvent 23 24#### JS APIs and instructions 25 26- ScreenLock interface documentation [js-apis-screen-lock.md](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-screen-lock.md) Provides interface definitions and sample code starting with API version 7. 27 28#### Debugging method 29 301. Compile command 31 32./build.sh --product-name (Fill in the specific product name, such as:Hi3516DV300) --build-target screenlock_native 33 342. push so file 35 36in $root\out\ohos-arm-release\miscservices\screenlock_native,push libscreenlock_server.z.so libscreenlock_client.z.so 37libscreenlock_utils.z.so to system/lib,and push libscreenlockability.z.so to system/lib/module/app下.make sure the four so files is readable at least. 38 393. reboot 40 41#### Participation contribution 42 431. Fork warehouse 442. Submission code 453. Create a new pull request 464. Commit is complete 47 48