Caps lock disappears by adding a keyboard!
When I added a new keyboard I found out a problem on the English keyboard.
I have added “Persian” keyboard. Caps lock is changed to language switch. Also, there is no globe key. Double click on the shift key change it to caps lock key by the way ( just on English keyboard).
Following has not solved the problem:
Go to Settings > General > Keyboard and switch off the item for using caps lock to change language.
iPad Pro, iPadOS 16