This app does exactly what you are asking for
StackExchange will not approve my answer unless I add more information, so here's a 1:1 citation of what the app author writes:
Rotation is a tool to manage the device orientation. It offers all the modes that Android supports and can be ...
insert sim card into another phone and disable SIM PIN completely. now insert sim card back into locked phone it will connect to mobile data automatically without asking for PIN. finally login to find my mobile on pc and remote unlock phone