How can I type the phone PIN code automatically? This one doesn’t work ->

I’m trying to automate a test case on my mobile phone, but in the “Mobile.unlockScreen()” phase, Katalon is unable to unlock the screen.

Mobile.startApplication(‘path-to-app’, false)
Mobile.checkElement(findTestObject(‘object name’), 0)

I tried the setText() method but it doesn’t work.

This one is not a blocker but I would like to know how to address this problem.

Thank you for your quick answer.