Check the STM32L011E4Y6TR peripheral circuit.
Is it a problem to set the constant of the external pull-up resistor connected to the "PB9_Boot0" signal to 100kΩ? (R13)Also, if there is a problem with the connection, I would like you to point out the relevant part.